]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
in X11, keypad * is KP_MULTIPLY, not '*'
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 21:51:29 +0000 (21:51 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 16 Apr 2007 21:51:29 +0000 (21:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@7111 d7cf8633-e32d-0410-b094-e92efae38249

vid_glx.c

index 4c3d710c2786611889b7fe182cbfe730bfe461c5..5f92ed1ac191e9bc79d262f7af534a2d67e5fdd8 100644 (file)
--- 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;