changeset 107043:3809515a97b5

w32inevt.c (key_event): Remove unnecessary comparison of event->uChar.AsciiChar with 128.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 29 Jan 2010 16:03:25 +0200
parents fb827ff9ec83
children 28bc861d56c5 369f92442260
files src/ChangeLog src/w32inevt.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jan 28 23:19:22 2010 -0800
+++ b/src/ChangeLog	Fri Jan 29 16:03:25 2010 +0200
@@ -1,3 +1,8 @@
+2010-01-29  Eli Zaretskii  <eliz@gnu.org>
+
+	* w32inevt.c (key_event): Remove unnecessary comparison of
+	event->uChar.AsciiChar with 128.
+
 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
 
 	* fileio.c (Frename_file): Fix last change (Bug#5487).
--- a/src/w32inevt.c	Thu Jan 28 23:19:22 2010 -0800
+++ b/src/w32inevt.c	Fri Jan 29 16:03:25 2010 +0200
@@ -470,7 +470,7 @@
 	  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;