From: Jose Dapena Paz Date: Mon, 2 Feb 2009 11:10:50 +0000 (+0000) Subject: Show proper size string for 0kb (fixes NB#92465). X-Git-Tag: git_migration_finished~687 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=fa8f6bccc4b6a4f8725848ac8f2c655603266e59 Show proper size string for 0kb (fixes NB#92465). pmo-trunk-r7355 --- diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index 4ed9ca3..f2d9242 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -1661,7 +1661,7 @@ modest_text_utils_get_display_size (guint64 size) const guint GB=1024 * MB; if (size == 0) - return g_strdup_printf (_FM("sfil_li_size_kb")); + return g_strdup_printf (_FM("sfil_li_size_kb"), 0); if (0 <= size && size < KB) return g_strdup_printf (_FM("sfil_li_size_1kb_99kb"), 1); else if (KB <= size && size < 100 * KB)