From 9ba9bdbb61307c39f49c2609c1c380b7140d3342 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 16 Apr 2007 21:51:29 +0000 Subject: [PATCH] in X11, keypad * is KP_MULTIPLY, not '*' git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7111 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vid_glx.c b/vid_glx.c index 4c3d710c..5f92ed1a 100644 --- a/vid_glx.c +++ b/vid_glx.c @@ -202,7 +202,7 @@ static int XLateKey(XKeyEvent *ev, char *ascii) case XK_Insert:key = K_INS; break; case XK_KP_Insert: key = K_KP_INS; break; - case XK_KP_Multiply: key = '*'; break; + case XK_KP_Multiply: key = K_KP_MULTIPLY; break; case XK_KP_Add: key = K_KP_PLUS; break; case XK_KP_Subtract: key = K_KP_MINUS; break; case XK_KP_Divide: key = K_KP_SLASH; break; -- 2.39.2