mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Tidied
This commit is contained in:
parent
a82e358248
commit
4860310071
1 changed files with 5 additions and 4 deletions
|
@ -1545,14 +1545,15 @@ newLanguages(NSArray *oldNames)
|
|||
{
|
||||
GSPersistentDomain *pd;
|
||||
|
||||
if (nil != (pd = [_persDomains objectForKey: bundleIdentifier]))
|
||||
pd = [_persDomains objectForKey: bundleIdentifier];
|
||||
if (nil != pd)
|
||||
{
|
||||
id old = [self objectForKey: defaultName];
|
||||
|
||||
if ([pd setObject: nil forKey: defaultName])
|
||||
{
|
||||
id old;
|
||||
id new;
|
||||
|
||||
old = [self objectForKey: defaultName];
|
||||
[self _changePersistentDomain: bundleIdentifier];
|
||||
new = [self objectForKey: defaultName];
|
||||
/* Emit only a KVO notification when the value has actually
|
||||
|
@ -2095,7 +2096,7 @@ static BOOL isPlistObject(id o)
|
|||
_lastSync = saved;
|
||||
}
|
||||
// Check and if not existent add the Application and the Global domains
|
||||
if (bundleIdentifier && [_persDomains objectForKey: bundleIdentifier] == nil)
|
||||
if ([_persDomains objectForKey: bundleIdentifier] == nil)
|
||||
{
|
||||
GSPersistentDomain *pd;
|
||||
|
||||
|
|
Loading…
Reference in a new issue