Created
May 30, 2011 15:29
-
-
Save crmne/999057 to your computer and use it in GitHub Desktop.
Fixes Emacs colors on Mac OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nsterm.m b/src/nsterm.m | |
index 025486d..bb362a6 100644 | |
--- a/src/nsterm.m | |
+++ b/src/nsterm.m | |
@@ -1414,7 +1414,7 @@ ns_get_color (const char *name, NSColor **col) | |
if (r >= 0.0) | |
{ | |
- *col = [NSColor colorWithCalibratedRed: r green: g blue: b alpha: 1.0]; | |
+ *col = [NSColor colorWithDeviceRed: r green: g blue: b alpha: 1.0]; | |
UNBLOCK_INPUT; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment