Fix for bug 1162

Tony Lambregts tony_lambregts at telusplanet.net
Mon Nov 25 19:11:17 CST 2002


This patch fixes bug 1162 http://bugs.winehq.com/show_bug.cgi?id=1162 . 
I am not absolutly certain that this is the "Right Fix"(TM) but it 
works.  Any comments are welcome.

Change log: Remove conversion to upper of keys.

Files: windows/message.c

-- 

Tony Lambregts

-------------- next part --------------
Index: message.c
===================================================================
RCS file: /home/wine/wine/windows/message.c,v
retrieving revision 1.148
diff -u -r1.148 message.c
--- message.c	30 Oct 2002 23:45:38 -0000	1.148
+++ message.c	26 Nov 2002 01:03:24 -0000
@@ -665,7 +665,6 @@
 {
     INT retval;
 
-    if (vkey >= 'a' && vkey <= 'z') vkey += 'A' - 'a';
     retval = ((WORD)(QueueKeyStateTable[vkey] & 0x80) << 8 ) |
               (QueueKeyStateTable[vkey] & 0x80) |
               (QueueKeyStateTable[vkey] & 0x01);


More information about the wine-patches mailing list