changeset 97026:aebbea50eef4

* term.c (syms_of_term): Don't initialize default_orig_pair, default_set_foreground and default_set_background on Windows.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 25 Jul 2008 22:33:59 +0000
parents e72be8a4fdb8
children adc2dffbdfc3
files src/ChangeLog src/term.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Jul 25 21:53:21 2008 +0000
+++ b/src/ChangeLog	Fri Jul 25 22:33:59 2008 +0000
@@ -1,3 +1,8 @@
+2008-07-25  Juanma Barranquero  <lekktu@gmail.com>
+
+	* term.c (syms_of_term): Don't initialize default_orig_pair,
+	default_set_foreground and default_set_background on Windows.
+
 2008-07-25  Jason Rumney  <jasonr@gnu.org>
 
         * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to
--- a/src/term.c	Fri Jul 25 21:53:21 2008 +0000
+++ b/src/term.c	Fri Jul 25 22:33:59 2008 +0000
@@ -3987,9 +3987,11 @@
   staticpro (&mouse_face_window);
 #endif /* HAVE_GPM */
 
+#ifndef WINDOWSNT
   default_orig_pair = NULL;
   default_set_foreground = NULL;
   default_set_background = NULL;
+#endif /* WINDOWSNT */
 }