[pacman-dev] [patch] extra newlines in package install reason
Dan McGee
dpmcgee at gmail.com
Sun Jan 21 17:51:51 EST 2007
Newlines were included in both setting the string variable and in the
printf, remove the extra ones.
Signed-off-by: Dan McGee <dpmcgee at gmail.com>
--- pacman-lib.orig/src/pacman/package.c 2007-01-21 17:42:14.000000000 -0500
+++ pacman-lib/src/pacman/package.c 2007-01-21 17:40:50.000000000 -0500
@@ -49,13 +49,13 @@ void dump_pkg_full(pmpkg_t *pkg, int lev
switch((long)alpm_pkg_get_reason(pkg)) {
case PM_PKG_REASON_EXPLICIT:
- reason = _("Explicitly installed\n");
+ reason = _("Explicitly installed");
break;
case PM_PKG_REASON_DEPEND:
- reason = _("Installed as a dependency for another package\n");
+ reason = _("Installed as a dependency for another package");
break;
default:
- reason = _("Unknown\n");
+ reason = _("Unknown");
break;
}
More information about the pacman-dev
mailing list