Fix for Collection views having a gray background when nib2cibed.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2009-09-15 02:22:05 -07:00
1 parent 7205146e1b
commit 98ef1bfd05
1 file changed
+3 -1
+3 -1
View File
@@ -98,7 +98,9 @@ var NSUnknownColorSpaceModel = -1,
{
var //display = [NSDisplay currentDisplay],
result = null;//[display colorWithName: colorName];
if (!result)
if (colorName === @"controlColor")
color = nil;
else if (!result)
{
result = color;
//[display _addSystemColor: result forName: colorName];