From: divverent Date: Mon, 16 Apr 2007 21:51:29 +0000 (+0000) Subject: in X11, keypad * is KP_MULTIPLY, not '*' X-Git-Tag: xonotic-v0.1.0preview~3319 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9ba9bdbb61307c39f49c2609c1c380b7140d3342;p=xonotic%2Fdarkplaces.git in X11, keypad * is KP_MULTIPLY, not '*' git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7111 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;