Ken Thomases : winex11.drv: Replace no-longer-existent VK_A, VK_Z,
VK_0, and VK_9 constants.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Nov 20 05:52:49 CST 2006
Module: wine
Branch: master
Commit: 0dee5eb1608ab8491cad2848b673f74d634aa576
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0dee5eb1608ab8491cad2848b673f74d634aa576
Author: Ken Thomases <ken at codeweavers.com>
Date: Fri Nov 17 14:46:31 2006 -0600
winex11.drv: Replace no-longer-existent VK_A, VK_Z, VK_0, and VK_9 constants.
---
dlls/winex11.drv/keyboard.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index 1fdb9e9..a542fd5 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -1672,8 +1672,8 @@ void X11DRV_InitKeyboard(void)
for (i = 0; (i < keysyms_per_keycode) && (!vkey); i++)
{
keysym = XLookupKeysym(&e2, i);
- if ((keysym >= VK_0 && keysym <= VK_9)
- || (keysym >= VK_A && keysym <= VK_Z)) {
+ if ((keysym >= XK_0 && keysym <= XK_9)
+ || (keysym >= XK_A && keysym <= XK_Z)) {
vkey = keysym;
}
}
More information about the wine-cvs
mailing list