mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9d71af9cbf
commit
eae859d1c7
85 changed files with 1090 additions and 1277 deletions
|
@ -140,8 +140,8 @@ typedef struct {
|
|||
GSPlaceholderStringClass = [GSPlaceholderString class];
|
||||
NSConstantStringClass = [NSString constantStringClass];
|
||||
_holder = (id)NSAllocateObject(GSPlaceholderStringClass, 0, 0);
|
||||
externalEncoding = GetDefEncoding();
|
||||
if (GSIsByteEncoding(externalEncoding) == YES)
|
||||
externalEncoding = [NSString defaultCStringEncoding];
|
||||
if ([_GSPrivate isByteEncoding: externalEncoding] == YES)
|
||||
{
|
||||
internalEncoding = externalEncoding;
|
||||
}
|
||||
|
@ -169,7 +169,7 @@ typedef struct {
|
|||
|
||||
if (scanner != nil)
|
||||
{
|
||||
[scanner setLocale: GSUserDefaultsDictionaryRepresentation()];
|
||||
[scanner setLocale: [_GSPrivate userDefaultsDictionaryRepresentation]];
|
||||
}
|
||||
return scanner;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue