* src/nsimage.m ([EmacsImage setXBMColor:]): Use 'generic RGB' color
space.
if (bmRep == nil || color == nil)
return self;
- if ([color colorSpace] != [NSColorSpace deviceRGBColorSpace])
- rgbColor = [color colorUsingColorSpace:[NSColorSpace deviceRGBColorSpace]];
+ if ([color colorSpace] != [NSColorSpace genericRGBColorSpace])
+ rgbColor = [color colorUsingColorSpace:[NSColorSpace genericRGBColorSpace]];
else
rgbColor = color;