diff --git a/Modules/Editors/ProjectCenter/PCEditor.m b/Modules/Editors/ProjectCenter/PCEditor.m index 302b0b5..29286bf 100644 --- a/Modules/Editors/ProjectCenter/PCEditor.m +++ b/Modules/Editors/ProjectCenter/PCEditor.m @@ -310,8 +310,7 @@ textBackgroundColor = readOnlyColor; } - textColor = [prefs colorForKey:EditorForegroundColor defaultValue:textColor]; - RETAIN(textColor); + ASSIGN(textColor, [prefs colorForKey:EditorForegroundColor defaultValue:textColor]); [attributes setObject:font forKey:NSFontAttributeName]; [attributes setObject:textBackgroundColor forKey:NSBackgroundColorAttributeName];