From dea101f699be7433af808ce070cf49a1fcf49f9d Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 25 Jul 2008 22:33:59 +0000 Subject: [PATCH] * term.c (syms_of_term): Don't initialize default_orig_pair, default_set_foreground and default_set_background on Windows. --- src/ChangeLog | 5 +++++ src/term.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index c23aadee7d8..3e592022db6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-07-25 Juanma Barranquero + + * 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 * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to diff --git a/src/term.c b/src/term.c index 03fa801252f..71e0f557f29 100644 --- a/src/term.c +++ b/src/term.c @@ -3987,9 +3987,11 @@ bigger, or it may make it blink, or it may do nothing at all. */); staticpro (&mouse_face_window); #endif /* HAVE_GPM */ +#ifndef WINDOWSNT default_orig_pair = NULL; default_set_foreground = NULL; default_set_background = NULL; +#endif /* WINDOWSNT */ } -- 2.39.2