summaryrefslogtreecommitdiffstats
path: root/src/pacman/remove.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-01 07:35:30 +0100
committerDan McGee <dan@archlinux.org>2007-02-01 07:35:30 +0100
commitcdaed9221d9614c4c43103d79f8b53b916d80d86 (patch)
tree4a96afbd93f1e52f8a3104979f95d3ba76acce79 /src/pacman/remove.c
parent8c0a8ddc5bb6443358e1cbba8023b6e9dc786fca (diff)
downloadpacman-cdaed9221d9614c4c43103d79f8b53b916d80d86.tar.gz
pacman-cdaed9221d9614c4c43103d79f8b53b916d80d86.tar.xz
* Tried to clean up newline display a bit in the frontend.
* Removed useless buildstring function from util.h; replaced all calls of it with list_display. * Made list_display output 2 spaces instead of 1 between each item.
Diffstat (limited to 'src/pacman/remove.c')
-rw-r--r--src/pacman/remove.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 28f7411d..dba1d4e3 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -121,7 +121,8 @@ int pacman_remove(alpm_list_t *targets)
pmpkg_t *pkg = alpm_list_getdata(i);
lst = alpm_list_add(lst, strdup(alpm_pkg_get_name(pkg)));
}
- list_display(_("\nTargets:"), lst);
+ MSG(NL, "\n");
+ list_display(_("Targets:"), lst);
FREELIST(lst);
/* get confirmation */
if(yesno(_("\nDo you want to remove these packages? [Y/n] ")) == 0) {