From 306914793cfe1ac55e4b85f5226f5c9491aa638a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 8 Feb 2007 01:12:48 +0000 Subject: Fix newlines for real, and add a missing _() gettext wrapper. --- src/pacman/package.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/pacman') diff --git a/src/pacman/package.c b/src/pacman/package.c index 0b7bd0f4..2e037a55 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -97,9 +97,10 @@ void dump_pkg_full(pmpkg_t *pkg, int level) /* Print additional package info if info flag passed more than once */ if(level > 1) { /* call new backup function */ - dump_pkg_backups(pkg); printf("\n"); + dump_pkg_backups(pkg); } + printf("\n"); } /* Display the content of a sync package @@ -145,7 +146,7 @@ void dump_pkg_backups(pmpkg_t *pkg) { alpm_list_t *i; const char *root = alpm_option_get_root(); - printf("\nBackup Files :\n"); + printf(_("Backup Files :\n")); for(i = alpm_pkg_get_backup(pkg); i; i = alpm_list_next(i)) { struct stat buf; char path[PATH_MAX]; -- cgit v1.2.3-70-g09d2