Fixed test of default NSShowNonLocalizedStrings

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-08-01 06:21:15 +00:00
parent 0eccffd21f
commit 79efb3ad6e
2 changed files with 8 additions and 2 deletions

View file

@ -847,7 +847,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
{
NSString *show = [[NSUserDefaults standardUserDefaults]
objectForKey: NSShowNonLocalizedStrings];
if (!show || [show isEqual: @"YES"])
if (show && [show isEqual: @"YES"])
{
/* It would be bad to localize this string! */
NSLog(@"Non-localized string: %@\n", newString);