[gnome-commander] Remove extra spaces in create_nice_size_str()



commit 0e3fd171ccd1adade6d48de694ad731bb422a8b8
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Tue Jun 28 21:10:34 2011 +0200

    Remove extra spaces in create_nice_size_str()

 src/utils.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/utils.cc b/src/utils.cc
index c04a999..066b70f 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -817,11 +817,11 @@ gchar *create_nice_size_str (GnomeVFSFileSize size)
 
     if (gnome_cmd_data.size_disp_mode==GNOME_CMD_SIZE_DISP_MODE_POWERED && size>=1000)
     {
-        g_string_printf (s, "%s ", size2string (size, GNOME_CMD_SIZE_DISP_MODE_POWERED));
-        g_string_append_printf (s, ngettext("(%s byte)","(%s bytes)",size), size2string (size, GNOME_CMD_SIZE_DISP_MODE_GROUPED));
+        g_string_printf (s, "%s", size2string (size, GNOME_CMD_SIZE_DISP_MODE_POWERED));
+        g_string_append_printf (s, ngettext("(%sbyte)","(%sbytes)",size), size2string (size, GNOME_CMD_SIZE_DISP_MODE_GROUPED));
     }
     else
-        g_string_printf (s, ngettext("%s byte","%s bytes",size), size2string (size, GNOME_CMD_SIZE_DISP_MODE_GROUPED));
+        g_string_printf (s, ngettext("%sbyte","%sbytes",size), size2string (size, GNOME_CMD_SIZE_DISP_MODE_GROUPED));
 
     return g_string_free (s, FALSE);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]