switch numlockptr back

This commit is contained in:
theoddone33
2001-05-08 20:12:52 +00:00
parent ff1b81bba5
commit 0da4a8134a

View File

@@ -143,9 +143,9 @@ int Main_Proc(void)
event.key.keysym.sym == SDLK_RSHIFT)
shiftptr = 1;
if (event.key.keysym.mod & KMOD_NUM)
numlockptr = 0;
else
numlockptr = 1;
else
numlockptr = 0;
if (event.key.keysym.scancode-8 >= 0) {
if (pressed[event.key.keysym.scancode-8]!=2)
pressed[event.key.keysym.scancode-8]=1;