diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-03 01:18:40 +0000 |
commit | ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8 (patch) | |
tree | b690e9ee0bf559ff2fc4d85d367241a54bcd86f2 /video | |
parent | a9fa6fd5060db97614240788e8f7658bd06f3ae4 (diff) | |
download | openttd-ac2b6f39b1f9a1e104fe6859d1a5b7c6afd010f8.tar.xz |
(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the
verb is build/built/built not build/*/build or build/*/builded.
Diffstat (limited to 'video')
-rw-r--r-- | video/sdl_v.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/sdl_v.c b/video/sdl_v.c index 5ffd33dbf..d9ddc6219 100644 --- a/video/sdl_v.c +++ b/video/sdl_v.c @@ -296,8 +296,8 @@ static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym) if (sym->mod & KMOD_ALT) key |= WKC_ALT; // these two lines really help porting hotkey combos. Uncomment to use -- Bjarni #if 0 - printf("scancode character pressed %d\n", sym->scancode); - printf("unicode character pressed %d\n", sym->unicode); + DEBUG(driver, 0) ("scancode character pressed %d", sym->scancode); + DEBUG(driver, 0) ("unicode character pressed %d", sym->unicode); #endif return (key << 16) + sym->unicode; } |