nib2cib NSColor colorspace 3 and 4 fix

This commit is contained in:
tlrobinson committed 2009-03-26 12:54:46 -07:00
1 parent 20eaf1455d
commit e07c98b418
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ var NSUnknownColorSpaceModel = -1,
case 4: // [NSColor colorWithDeviceWhite:values[0] alpha:values[1]];
var bytes = [aCoder decodeBytesForKey:@"NSWhite"],
string = bytes_to_string(rgb),
string = bytes_to_string(bytes),
components = [string componentsSeparatedByString:@" "],
values = [0,1];