diff options
author | Dan McGee <dan@archlinux.org> | 2008-08-23 18:20:07 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 18:20:59 +0200 |
commit | 31c7e82a51b70e886f929b0489c66dfdb9aa7815 (patch) | |
tree | 08f5984ec8bdb6f47e47a7f64c7a2112b9daefb2 | |
parent | 5b51dbb11e2087e1055be24b486502be806b5e13 (diff) | |
download | pacman-31c7e82a51b70e886f929b0489c66dfdb9aa7815.tar.gz pacman-31c7e82a51b70e886f929b0489c66dfdb9aa7815.tar.xz |
Fix 'None' text so we don't have to translate it twice
We had one "None" and one "None\n" string; we can let the program do the
addition of the newline so we don't have to.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | src/pacman/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c index 8c4aeab8..c31714e4 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -469,7 +469,7 @@ void list_display(const char *title, const alpm_list_t *list) } if(!list) { - printf(_("None\n")); + printf("%s\n", _("None")); } else { for(i = list, cols = len; i; i = alpm_list_next(i)) { char *str = alpm_list_getdata(i); @@ -503,7 +503,7 @@ void list_display_linebreak(const char *title, const alpm_list_t *list) } if(!list) { - printf(_("None\n")); + printf("%s\n", _("None")); } else { /* Print the first element */ indentprint((const char *) alpm_list_getdata(list), len); |