[svn] Force thousand sep to . rather than " " when , is taken.

This commit is contained in:
hniksic 2005-06-27 11:30:01 -07:00
parent 2447fb9a9b
commit 6b1effd729
2 changed files with 7 additions and 2 deletions

View 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

View 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;