Wrapping some debug output in an #ifdef DEBUG

This commit is contained in:
William Kendrick 2009-06-18 20:51:58 +00:00
parent 6146163d26
commit a5ba984e9a

View file

@ -1999,6 +1999,7 @@ static void mainloop(void)
key = event.key.keysym.sym;
mod = event.key.keysym.mod;
#ifdef DEBUG
// FIXME: debug junk
fprintf(stderr,
"key 0x%04x mod 0x%04x character 0x%04x %d <%c> is %sprintable, key_down 0x%x\n",
@ -2010,7 +2011,7 @@ static void mainloop(void)
iswprint(key_unicode)?"":"not ",
(unsigned)key_down
);
#endif
handle_keymouse(key, SDL_KEYDOWN);