fixed bug in handling debug keys when compiled without symbol DEBUG defined
authorHolger Schemel <info@artsoft.org>
Mon, 17 Dec 2018 20:51:53 +0000 (21:51 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 17 Dec 2018 20:51:53 +0000 (21:51 +0100)
src/events.c

index 8c8ae5a..3346055 100644 (file)
@@ -1849,9 +1849,9 @@ boolean HandleKeysDebug(Key key, int key_status)
       return TRUE;
     }
   }
+#endif
 
   return FALSE;
-#endif
 }
 
 void HandleKey(Key key, int key_status)