mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 20:49:13 +00:00
Fix for property lists color descriptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9657 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5d695fe3fe
commit
6b1e2ed8ff
2 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,9 @@
|
|||
system color list to not be loaded ... was using == for NSString
|
||||
comparison where isEqual was needed.
|
||||
Also reformatted to conform to coding standards.
|
||||
* Source/NSColor.m: ([defaultsDidChange:]) Fixed to record plist
|
||||
defaults values as strings ... so colorFromString works to set system
|
||||
colors.
|
||||
|
||||
2001-04-18 Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
|
||||
|
|
|
@ -1271,7 +1271,7 @@ systemColorWithName(NSString *name)
|
|||
enumerator = [colorStrings keyEnumerator];
|
||||
while ((key = [enumerator nextObject]) != nil)
|
||||
{
|
||||
NSString *def = [defs stringForKey: key];
|
||||
NSString *def = [[defs objectForKey: key] description];
|
||||
|
||||
if (def != nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue