From 4ba07e8852faae3f4c7dd52c96e4ae10b01953ce Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Fri, 10 May 1996 23:07:10 +0000 Subject: [PATCH] (win32_wnd_proc): Disable setting of Vquit_flag at this opoint --- src/w32fns.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/w32fns.c b/src/w32fns.c index f34c215227f..7655f16ffe1 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -2965,6 +2965,7 @@ win32_wnd_proc (hwnd, msg, wParam, lParam) enter_crit (); my_post_msg (&wmsg, hwnd, msg, wParam, lParam); +#if 0 /* Detect quit_char and set quit-flag directly. Note that we dow this *after* posting the message to ensure the main thread will be woken up if blocked in sys_select(). */ @@ -2976,6 +2977,8 @@ win32_wnd_proc (hwnd, msg, wParam, lParam) if (c == quit_char) Vquit_flag = Qt; } +#endif + leave_crit (); break; -- 2.39.5