mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-24 06:02:27 +00:00
Some tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7965 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
780868f1a5
commit
1f4a646fa8
9 changed files with 394 additions and 177 deletions
|
@ -290,7 +290,7 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
|
||||
+ (NSArray*) userLanguages
|
||||
{
|
||||
NSArray *currLang;
|
||||
NSArray *currLang = nil;
|
||||
NSString *locale;
|
||||
|
||||
if (userLanguages)
|
||||
|
@ -328,7 +328,7 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
}
|
||||
}
|
||||
|
||||
if (currLang)
|
||||
if (currLang != nil)
|
||||
[userLanguages addObjectsFromArray: currLang];
|
||||
|
||||
/* Check if "English" is included. We do this to make sure all the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue