gcalctool r2079 - branches/gnome-2-22/gcalctool



Author: rancell
Date: Sat Apr 19 02:58:43 2008
New Revision: 2079
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2079&view=rev

Log:
copy-paste error


Modified:
   branches/gnome-2-22/gcalctool/display.c

Modified: branches/gnome-2-22/gcalctool/display.c
==============================================================================
--- branches/gnome-2-22/gcalctool/display.c	(original)
+++ branches/gnome-2-22/gcalctool/display.c	Sat Apr 19 02:58:43 2008
@@ -58,12 +58,12 @@
         STRNCPY(dest, src, dest_length - 1);
         return;
     }
-    
+
     /* Remove separators if not supported */
     clean = g_string_sized_new(strlen(src));
     for (c = src; *c; c++) {
-        if (strncmp(c, v->tsep, strlen(v->radix)) == 0) {
-            c += strlen(v->radix) - 1;
+        if (strncmp(c, v->tsep, strlen(v->tsep)) == 0) {
+            c += strlen(v->tsep) - 1;
         }
         else {
             g_string_append_c(clean, *c);



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