diff src/macterm.c @ 48818:5030a4c296d2

* macterm.c (mac_check_for_quit_char): Correctly set the modifiers of the event to 0. * mac.c (sys_select): Duplicate rfds before calling select to ensure that rfds survive the while loop.
author Steven Tamm <steventamm@mac.com>
date Thu, 12 Dec 2002 17:10:34 +0000
parents 9f54273b7ff1
children fc0983df599f
line wrap: on
line diff
--- a/src/macterm.c	Thu Dec 12 10:43:03 2002 +0000
+++ b/src/macterm.c	Thu Dec 12 17:10:34 2002 +0000
@@ -13561,6 +13561,8 @@
       /* Use an input_event to emulate what the interrupt handler does. */
       e.kind = ASCII_KEYSTROKE_EVENT;
       e.code = quit_char;
+      e.arg = NULL;
+      e.modifiers = NULL;
       e.timestamp = EventTimeToTicks(GetEventTime(event))*(1000/60);
       XSETFRAME(e.frame_or_window, mwp->mFP);
       /* Remove event from queue to prevent looping. */