mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Fixups for libxml bug/feature
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16702 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3cff27ca8e
commit
1d6f162285
6 changed files with 135 additions and 12 deletions
|
@ -922,7 +922,7 @@ NSDictionary *locale)
|
|||
if (grouping == (const char *) -1)
|
||||
{
|
||||
thousands_sep = [locale objectForKey: NSThousandsSeparator];
|
||||
if (!thousands_sep) thousands_sep = @",";
|
||||
if (thousands_sep == nil) thousands_sep = @",";
|
||||
|
||||
grouping = ""; // FIXME: grouping info missing in locale?
|
||||
if (*grouping == '\0' || *grouping == CHAR_MAX)
|
||||
|
@ -1405,6 +1405,7 @@ NSDictionary *locale)
|
|||
NSString *decimal_sep;
|
||||
|
||||
decimal_sep = [locale objectForKey: NSDecimalSeparator];
|
||||
if (decimal_sep == nil) decimal_sep = @".";
|
||||
|
||||
bp = buf1;
|
||||
|
||||
|
@ -1525,6 +1526,7 @@ NSDictionary *locale)
|
|||
NSString *decimal_sep;
|
||||
|
||||
decimal_sep = [locale objectForKey: NSDecimalSeparator];
|
||||
if (decimal_sep == nil) decimal_sep = @".";
|
||||
|
||||
bp = buf1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue