aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-01-20 19:34:27 +0200
committerEli Zaretskii2016-01-20 19:34:27 +0200
commit4786c02b83a521bb35f8928dac33a884b6ca7cfa (patch)
treef287f448464de93c504ae014841c44c6f8a0f2a9
parent1d5f46b20e98a2fb9b67cb4708a7508b501e4057 (diff)
downloademacs-4786c02b83a521bb35f8928dac33a884b6ca7cfa.tar.gz
emacs-4786c02b83a521bb35f8928dac33a884b6ca7cfa.zip
Anoter fix for problematic merge from emacs-25
* src/w32fns.c (globals_of_w32fns): Move initialization of resetstkoflw to a non-Cygwin part.
-rw-r--r--src/w32fns.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 01f5d6f3ae0..a5018ae9d30 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -9921,6 +9921,7 @@ globals_of_w32fns (void)
9921 except_addr = 0; 9921 except_addr = 0;
9922#ifndef CYGWIN 9922#ifndef CYGWIN
9923 prev_exception_handler = SetUnhandledExceptionFilter (my_exception_handler); 9923 prev_exception_handler = SetUnhandledExceptionFilter (my_exception_handler);
9924 resetstkoflw = NULL;
9924#endif 9925#endif
9925 9926
9926 DEFVAR_INT ("w32-ansi-code-page", 9927 DEFVAR_INT ("w32-ansi-code-page",
@@ -9935,8 +9936,6 @@ globals_of_w32fns (void)
9935 9936
9936 after_deadkey = -1; 9937 after_deadkey = -1;
9937 9938
9938 resetstkoflw = NULL;
9939
9940 /* MessageBox does not work without this when linked to comctl32.dll 6.0. */ 9939 /* MessageBox does not work without this when linked to comctl32.dll 6.0. */
9941 InitCommonControls (); 9940 InitCommonControls ();
9942 9941