]> sjero.net Git - wget/commitdiff
[svn] Force thousand sep to . rather than " " when , is taken.
authorhniksic <devnull@localhost>
Mon, 27 Jun 2005 18:30:01 +0000 (11:30 -0700)
committerhniksic <devnull@localhost>
Mon, 27 Jun 2005 18:30:01 +0000 (11:30 -0700)
src/ChangeLog
src/utils.c

index 1758f6d9e6afeb3f3a95a765897e17d402c12373..49539767b2644bafa6dbdd3a35a7e95aacbc2449 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * utils.c (get_grouping_data): Force separator to "." rather than
+       " " when "," is taken.
+
 2005-06-27  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * wget.h (PTR_FORMAT): Cast the result of sizeof to int before
index fbf9b47f7ff26f04daa28048a7e0847314467871..6d095fa1c8fc743c793df1ee033fc27a440a52ae 100644 (file)
@@ -1191,11 +1191,11 @@ get_grouping_data (const char **sep, const char **grouping)
             grouping, which we still want to use it for legibility.
             In those locales set the sep char to ',', unless that
             character is used for decimal point, in which case set it
-            to " ".  */
+            to ".".  */
          if (*lconv->decimal_point != ',')
            cached_sep = ",";
          else
-           cached_sep = " ";
+           cached_sep = ".";
          cached_grouping = "\x03";
        }
       initialized = true;