From a5ba984e9a4a84d1ac4cc14232d702dcacc4e93f Mon Sep 17 00:00:00 2001 From: William Kendrick Date: Thu, 18 Jun 2009 20:51:58 +0000 Subject: [PATCH] Wrapping some debug output in an #ifdef DEBUG --- src/tuxpaint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index b34a60970..b3db284fb 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -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);