From: Eli Zaretskii Date: Fri, 29 Jan 2010 14:03:25 +0000 (+0200) Subject: w32inevt.c (key_event): Remove unnecessary comparison of X-Git-Tag: emacs-pretest-23.1.92~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=af93af83df6af83408f5940d017baf8637ec1bf1;p=emacs.git w32inevt.c (key_event): Remove unnecessary comparison of event->uChar.AsciiChar with 128. --- diff --git a/src/ChangeLog b/src/ChangeLog index 38368f33a70..cdc72322684 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-01-29 Eli Zaretskii + + * w32inevt.c (key_event): Remove unnecessary comparison of + event->uChar.AsciiChar with 128. + 2010-01-28 Chong Yidong * fileio.c (Frename_file): Fix last change (Bug#5487). diff --git a/src/w32inevt.c b/src/w32inevt.c index 159751c8b46..864b3b3f0bb 100644 --- a/src/w32inevt.c +++ b/src/w32inevt.c @@ -470,7 +470,7 @@ key_event (KEY_EVENT_RECORD *event, struct input_event *emacs_ev, int *isdead) emacs_ev->kind = NO_EVENT; return 0; } - else if (event->uChar.AsciiChar > 0 && event->uChar.AsciiChar < 128) + else if (event->uChar.AsciiChar > 0) { emacs_ev->kind = ASCII_KEYSTROKE_EVENT; emacs_ev->code = event->uChar.AsciiChar;