summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-02-08 01:12:48 +0000
committerDan McGee <dan@archlinux.org>2007-02-08 01:12:48 +0000
commit306914793cfe1ac55e4b85f5226f5c9491aa638a (patch)
tree7d01956c3a4c8f15a2ff9f1a163f522e82a3412c /src/pacman
parent622608985d1565445ec427111cb491f0c8e9735a (diff)
Fix newlines for real, and add a missing _() gettext wrapper.
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/package.c5
1 files changed, 3 insertions, 2 deletions
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];