[Bug 1162] - Parents Screen unavailable in Leap Ahead Preschool
wine-bugs at winehq.com
wine-bugs at winehq.com
Mon Nov 25 19:01:27 CST 2002
http://bugs.winehq.com/show_bug.cgi?id=1162
------- Additional Comments From tony_lambregts at telusplanet.net 2002-11-25 19:01 -------
I snipped down the log some on my own and ran across this section as I was doing so
0874e8e0:Call USER.106: GETKEYSTATE(0070) ret=029f:0a36 ds=0397
trace:msg:GetKeyState key (0x50) -> 0
0874e8e0:Ret USER.106: GETKEYSTATE() retval=0000 ret=029f:0a36 ds=0397
Now ascii(70) is lower case p and ascii (50) is upper case P. After playing
around a bit I found that GetKeyState is defined in /windows/message.c and this
function converts the keypressed to upper for whatever reason so I commented it
out as in the following patch and now ctrl-P works.
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 00:40:19 -0000
@@ -665,7 +665,7 @@
{
INT retval;
- if (vkey >= 'a' && vkey <= 'z') vkey += 'A' - 'a';
+/* if (vkey >= 'a' && vkey <= 'z') vkey += 'A' - 'a'; */
retval = ((WORD)(QueueKeyStateTable[vkey] & 0x80) << 8 ) |
(QueueKeyStateTable[vkey] & 0x80) |
(QueueKeyStateTable[vkey] & 0x01);
Now I suspect that this is not the "Right Fix" tm but I am going to submit it to
wine-devel anyway.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list