Mercurial > hg > xemacs-beta
changeset 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 | 79fb6b9e9f76 |
children | d90decf21e71 |
files | src/ChangeLog src/events.c |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Wed Jul 31 10:23:39 2002 +0000 +++ b/src/ChangeLog Wed Jul 31 15:27:24 2002 +0000 @@ -1,3 +1,8 @@ +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. + 2002-07-29 Sean MacLennan <seanm@seanm.ca> * glyphs-x.c (x_locate_pixmap_file): Test path not to be 0, before
--- 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 */