mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Force thousand sep to . rather than " " when , is taken.
This commit is contained in:
parent
2447fb9a9b
commit
6b1effd729
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user