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 8c8ae5a910f25ee6fb41a11d0661dad4bd062e0a..3346055722afa7566fa7f249ade02584d18a4f15 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)