From ff50305a02557c1aa423fd43a76bdc13424ae08e Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Thu, 20 Oct 2005 23:31:14 +0000 Subject: improved the Replace question format a bit --- src/pacman/trans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pacman/trans.c') diff --git a/src/pacman/trans.c b/src/pacman/trans.c index 872ce775..3f6f6bea 100644 --- a/src/pacman/trans.c +++ b/src/pacman/trans.c @@ -106,10 +106,10 @@ void cb_trans_conv(unsigned char event, void *data1, void *data2, void *data3, i *response = yesno(str); break; case PM_TRANS_CONV_REPLACE_PKG: - snprintf(str, LOG_STR_LEN, ":: Replace %s with %s from \"%s\"? [Y/n] ", + snprintf(str, LOG_STR_LEN, ":: Replace %s with %s/%s? [Y/n] ", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME), - (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME), - (char *)data3); + (char *)data3, + (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME)); *response = yesno(str); break; case PM_TRANS_CONV_LOCAL_NEWER: -- cgit v1.2.3