More patches from Frith-MacDonald.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2708 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1998-01-21 20:08:58 +00:00
parent 9f92fd9cfe
commit 4959cde7e5
3 changed files with 36 additions and 4 deletions

View file

@ -427,6 +427,7 @@ property list which is set as the value of a default.\n\n");
domain = [NSMutableDictionary dictionaryWithCapacity:1];
}
[domain setObject: obj forKey: name];
[defs setPersistentDomain: domain forName: owner];
}
}
else {
@ -469,8 +470,8 @@ property list which is set as the value of a default.\n\n");
exit(0);
}
}
[defs setPersistentDomain: domain forName: owner];
}
[defs setPersistentDomain: domain forName: owner];
if ([defs synchronize] == NO) {
NSLog(@"defaults: unable to write to defaults database - %s\n",