Locale/language fix.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@12568 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-02-20 07:16:25 +00:00
parent 0fd81a9591
commit b690be566c
2 changed files with 3 additions and 1 deletions

View file

@ -10,6 +10,8 @@
* configure: regenerated
* Source/NSRunLoop.m: ([acceptInputForMode:beforeDate:]) block until
limit date even if no I/O is possible.
* Source/NSUserDefaults.m: Patch by Alexander Malmberg to try all
listed locales rather than giving up at first failure.
2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>

View file

@ -404,7 +404,7 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
{
NSString *locale = GSSetLocale(nil);
if (locale == nil)
break;
continue;
/* See if we can get the dictionary from i18n functions.
Note that we get the dict from the current locale regardless
of what 'lang' is, since it should match anyway. */