diff --git a/ChangeLog b/ChangeLog index 5196fa3c7..bf7dfb16e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Source/NSUserDefaults.m b/Source/NSUserDefaults.m index ea02a0cfa..9120ba4dc 100644 --- a/Source/NSUserDefaults.m +++ b/Source/NSUserDefaults.m @@ -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. */