Mercurial > hg > xemacs-beta
diff src/events.c @ 941:c891972d07fa
[xemacs-hg @ 2002-07-31 15:27:17 by michaels]
2002-07-31 David Bush <David.Bush@intel.com>
* events.c (event_equal): Correct comparison in MS Windows
conditional code to use event structure defined for -use-kkcc.
author | michaels |
---|---|
date | Wed, 31 Jul 2002 15:27:24 +0000 |
parents | c925bacdda60 |
children | 345b7d75cab4 |
line wrap: on
line diff
--- a/src/events.c Wed Jul 31 10:23:39 2002 +0000 +++ b/src/events.c Wed Jul 31 15:27:24 2002 +0000 @@ -442,9 +442,8 @@ #endif #ifdef HAVE_MS_WINDOWS if (CONSOLE_MSWINDOWS_P (con)) - return (!memcmp(&XMAGIC_DATA_MSWINDOWS_EVENT (EVENT_DATA (e1)), - &XMAGIC_DATA_MSWINDOWS_EVENT (EVENT_DATA (e2)), - sizeof (union magic_data))); + return (XMAGIC_DATA_MSWINDOWS_EVENT (EVENT_DATA (e1)) == + XMAGIC_DATA_MSWINDOWS_EVENT (EVENT_DATA (e2))); #endif abort (); return 1; /* not reached */