+2008-08-01 Juanma Barranquero <lekktu@gmail.com>
+
+ * xfaces.c (x-load-color-file): Use RGB() instead of manually shifting
+ on Windows.
+
2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com>
Warning clearing and clean-up in NS port.
if (name[num] == '\n')
name[num] = 0;
cmap = Fcons (Fcons (build_string (name),
- make_number ((red << 16) | (green << 8) | blue)),
+#ifdef WINDOWS_NT
+ make_number (RGB (red, green, blue))),
+#else
+ make_number ((red << 16) | (green << 8) | blue)),
+#endif
cmap);
}
}