/pidgin/main: 2733eca1dc96: Fix a warning and (null) in file tra...

Tomasz Wasilczyk tomkiewicz at cpw.pidgin.im
Sun Oct 21 16:42:06 EDT 2012


Changeset: 2733eca1dc96057222b7b1a4cb2574641579236f
Author:	 Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date:	 2012-10-21 22:41 +0200
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/2733eca1dc96

Description:

Fix a warning and (null) in file transfer window

diffstat:

 libpurple/util.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff --git a/libpurple/util.c b/libpurple/util.c
--- a/libpurple/util.c
+++ b/libpurple/util.c
@@ -3701,9 +3701,9 @@ purple_str_size_to_units(goffset size)
 		}
 
 		if (size_index == 0) {
-			return g_strdup_printf("%" G_GSIZE_FORMAT " %s", size, size_str[size_index]);
+			return g_strdup_printf("%" G_GOFFSET_FORMAT " %s", size, _(size_str[size_index]));
 		} else {
-			return g_strdup_printf("%.2f %s", size_mag, size_str[size_index]);
+			return g_strdup_printf("%.2f %s", size_mag, _(size_str[size_index]));
 		}
 	}
 }



More information about the Commits mailing list