correct logic in get_key() (Ethan Dicks)

This commit is contained in:
marschap
2006-10-05 18:58:59 +00:00
parent 104098c1c0
commit 247ba1c193
+1 -1
View File
@@ -1405,7 +1405,7 @@ MtxOrb_get_key (Driver *drvthis)
#ifdef MTXORB_NEW_KEYMAP
/* don't query the keyboard if there are no mapped keys; see \todo above */
if ((!p->keypad_test_mode) || (p->keys == 0))
if ((p->keys == 0) && (!p->keypad_test_mode))
return NULL;
#endif