mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
More user defaults modification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11359 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
01c5c95a40
commit
8cd9e00585
16 changed files with 205 additions and 162 deletions
|
@ -25,12 +25,12 @@
|
|||
#include <base/Unicode.h>
|
||||
#include <Foundation/NSScanner.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <Foundation/NSUserDefaults.h>
|
||||
#include <Foundation/NSObjCRuntime.h>
|
||||
#include <float.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <ctype.h> /* FIXME: May go away once I figure out Unicode */
|
||||
#include "GSUserDefaults.h"
|
||||
|
||||
/* BSD and Solaris have this */
|
||||
#if defined(HANDLE_LLONG_MAX) && !defined(HANDLE_LONG_LONG_MAX)
|
||||
|
@ -110,9 +110,7 @@ typedef struct {
|
|||
|
||||
if (scanner != nil)
|
||||
{
|
||||
NSUserDefaults *defs = [NSUserDefaults standardUserDefaults];
|
||||
|
||||
[scanner setLocale: [defs dictionaryRepresentation]];
|
||||
[scanner setLocale: GSUserDefaultsDictionaryRepresentation()];
|
||||
}
|
||||
return scanner;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue