mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Simplification ... remove internal private functiuon and use public method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c16285f1b
commit
220bf8f040
7 changed files with 29 additions and 39 deletions
|
@ -4384,7 +4384,9 @@ static NSFileManager *fm = nil;
|
|||
else
|
||||
{
|
||||
ret = AUTORELEASE([[self allocWithZone: NSDefaultMallocZone()]
|
||||
initWithFormat: format locale: GSPrivateDefaultLocale() arguments: ap]);
|
||||
initWithFormat: format locale:
|
||||
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]
|
||||
arguments: ap]);
|
||||
}
|
||||
va_end(ap);
|
||||
return ret;
|
||||
|
@ -4437,7 +4439,8 @@ static NSFileManager *fm = nil;
|
|||
return [self compare: string
|
||||
options: 0
|
||||
range: ((NSRange){0, [self length]})
|
||||
locale: GSPrivateDefaultLocale()];
|
||||
locale:
|
||||
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -4449,7 +4452,8 @@ static NSFileManager *fm = nil;
|
|||
return [self compare: string
|
||||
options: NSCaseInsensitiveSearch
|
||||
range: ((NSRange){0, [self length]})
|
||||
locale: GSPrivateDefaultLocale()];
|
||||
locale:
|
||||
[[NSUserDefaults standardUserDefaults] dictionaryRepresentation]];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue