diff options
| author | Juanma Barranquero | 2008-08-01 23:40:13 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-08-01 23:40:13 +0000 |
| commit | dee8cd4354918f13fb71162a1cf5e09165b8a1f7 (patch) | |
| tree | 12ed01c58d071b778f68f890d453f2b4948a3b1c | |
| parent | 6d496c76c6d828c0cd2385a8015e844200f3cb3b (diff) | |
| download | emacs-dee8cd4354918f13fb71162a1cf5e09165b8a1f7.tar.gz emacs-dee8cd4354918f13fb71162a1cf5e09165b8a1f7.zip | |
* xfaces.c (Fx_load_color_file): Fix previous change;
it is #ifdef WINDOWSNT, not WINDOWS_NT.
| -rw-r--r-- | src/ChangeLog | 25 | ||||
| -rw-r--r-- | src/xfaces.c | 6 |
2 files changed, 17 insertions, 14 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f45a5f19741..0ed9209dece 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * xfaces.c (Fx_load_color_file): Fix previous change; | ||
| 4 | it is #ifdef WINDOWSNT, not WINDOWS_NT. | ||
| 5 | |||
| 1 | 2008-08-01 Michael Albinus <michael.albinus@gmx.de> | 6 | 2008-08-01 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * dbusbind.c (xd_read_message): Handle D-Bus error messages. | 8 | * dbusbind.c (xd_read_message): Handle D-Bus error messages. |
| @@ -8,8 +13,7 @@ | |||
| 8 | 13 | ||
| 9 | 2008-08-01 Chong Yidong <cyd@stupidchicken.com> | 14 | 2008-08-01 Chong Yidong <cyd@stupidchicken.com> |
| 10 | 15 | ||
| 11 | * nsfns.m (ns_frame_parm_handlers): Add empty entry for | 16 | * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha. |
| 12 | x_set_alpha. | ||
| 13 | 17 | ||
| 14 | * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not | 18 | * nsterm.m (EmacsApp -application:openFiles:): GNUStep does not |
| 15 | define NSApplicationDelegateReplySuccess. | 19 | define NSApplicationDelegateReplySuccess. |
| @@ -28,8 +32,8 @@ | |||
| 28 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 32 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 29 | 33 | ||
| 30 | Warning clearing and clean-up in NS port. | 34 | Warning clearing and clean-up in NS port. |
| 31 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): Add | 35 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): |
| 32 | prototypes. | 36 | Add prototypes. |
| 33 | * nsgui.h (FACE_DEFAULT): Remove, unused. | 37 | * nsgui.h (FACE_DEFAULT): Remove, unused. |
| 34 | (XGCValues): Change colors to unsigned long. | 38 | (XGCValues): Change colors to unsigned long. |
| 35 | * nsterm.h (EmacsApp): Add declaration of all methods implemented in | 39 | * nsterm.h (EmacsApp): Add declaration of all methods implemented in |
| @@ -63,11 +67,11 @@ | |||
| 63 | (ns_list_fonts): Remove, unused. | 67 | (ns_list_fonts): Remove, unused. |
| 64 | (ns_font_to_xlfd): Make static. Cast result of UTF8String. | 68 | (ns_font_to_xlfd): Make static. Cast result of UTF8String. |
| 65 | (ns_fontname_to_xlfd): Make static. | 69 | (ns_fontname_to_xlfd): Make static. |
| 66 | * w32menu.c (xmalloc_widget_value, digest_single_submenu): Remove | 70 | * w32menu.c (xmalloc_widget_value, digest_single_submenu): |
| 67 | prototypes (now in keyboard.h). | 71 | Remove prototypes (now in keyboard.h). |
| 68 | (next_menubar_widget_id): Remove, unused. | 72 | (next_menubar_widget_id): Remove, unused. |
| 69 | * xmenu.c (xmalloc_widget_value, digest_single_submenu): Remove | 73 | * xmenu.c (xmalloc_widget_value, digest_single_submenu): |
| 70 | prototypes (now in keyboard.h). | 74 | Remove prototypes (now in keyboard.h). |
| 71 | * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused. | 75 | * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused. |
| 72 | 76 | ||
| 73 | 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> | 77 | 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> |
| @@ -76,8 +80,8 @@ | |||
| 76 | (floatfns.o): Depend on syssignal.h. | 80 | (floatfns.o): Depend on syssignal.h. |
| 77 | (term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC). | 81 | (term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC). |
| 78 | 82 | ||
| 79 | * systty.h: Fix previous change that removed BSD_TERMIOS. Add | 83 | * systty.h: Fix previous change that removed BSD_TERMIOS. |
| 80 | comments to #ifdefs. | 84 | Add comments to #ifdefs. |
| 81 | 85 | ||
| 82 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | 86 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
| 83 | 87 | ||
| @@ -14138,7 +14142,6 @@ | |||
| 14138 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 14142 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 14139 | 14143 | ||
| 14140 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | 14144 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. |
| 14141 | |||
| 14142 | * macgui.h: Replace WindowPtr with WindowRef. | 14145 | * macgui.h: Replace WindowPtr with WindowRef. |
| 14143 | 14146 | ||
| 14144 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | 14147 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and |
diff --git a/src/xfaces.c b/src/xfaces.c index e2d2ec652c6..eeade820fcd 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -6600,10 +6600,10 @@ where R,G,B are numbers between 0 and 255 and name is an arbitrary string. */) | |||
| 6600 | if (name[num] == '\n') | 6600 | if (name[num] == '\n') |
| 6601 | name[num] = 0; | 6601 | name[num] = 0; |
| 6602 | cmap = Fcons (Fcons (build_string (name), | 6602 | cmap = Fcons (Fcons (build_string (name), |
| 6603 | #ifdef WINDOWS_NT | 6603 | #ifdef WINDOWSNT |
| 6604 | make_number (RGB (red, green, blue))), | 6604 | make_number (RGB (red, green, blue))), |
| 6605 | #else | 6605 | #else |
| 6606 | make_number ((red << 16) | (green << 8) | blue)), | 6606 | make_number ((red << 16) | (green << 8) | blue)), |
| 6607 | #endif | 6607 | #endif |
| 6608 | cmap); | 6608 | cmap); |
| 6609 | } | 6609 | } |