[pacman-dev] CVS update of pacman-lib/src/pacman (package.c)

Aaron Griffin aaron at archlinux.org
Mon Jan 22 03:52:18 EST 2007


    Date: Monday, January 22, 2007 @ 03:52:18
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/src/pacman

Modified: package.c (1.22 -> 1.23)

* Dan McGee <dpmcgee at gmail.com>
    Newlines were included in both setting the string
    variable and in the printf, remove the extra ones.


-----------+
 package.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Index: pacman-lib/src/pacman/package.c
diff -u pacman-lib/src/pacman/package.c:1.22 pacman-lib/src/pacman/package.c:1.23
--- pacman-lib/src/pacman/package.c:1.22	Mon Jan 22 03:46:12 2007
+++ pacman-lib/src/pacman/package.c	Mon Jan 22 03:52:18 2007
@@ -50,13 +50,13 @@
 
 	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