diff options
author | tron <tron@openttd.org> | 2005-07-08 22:25:24 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-08 22:25:24 +0000 |
commit | 1b4a0897b6944910edaeb8f34769a092110c0a0c (patch) | |
tree | 7b435600d289220b369f3d759ca520553f411357 /sdl.c | |
parent | 83f72f696a3ce82eea4cfcbbbdbf35b0823492e3 (diff) | |
download | openttd-1b4a0897b6944910edaeb8f34769a092110c0a0c.tar.xz |
(svn r2535) Tabs
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -399,7 +399,7 @@ static const VkMapping _vk_mapping[] = { static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym) { - const VkMapping *map; + const VkMapping *map; uint key = 0; for (map = _vk_mapping; map != endof(_vk_mapping); ++map) { if ((uint)(sym->sym - map->vk_from) <= map->vk_count) { @@ -573,7 +573,7 @@ static int SdlVideoMainLoop(void) while ((i = PollEvent()) == -1) {} if (i >= 0) return i; - if (_exit_game) return ML_QUIT; + if (_exit_game) return ML_QUIT; mod = SDL_CALL SDL_GetModState(); keys = SDL_CALL SDL_GetKeyState(&numkeys); @@ -613,7 +613,7 @@ static int SdlVideoMainLoop(void) CheckPaletteAnim(); pal_tick = 1; } - DrawSurfaceToScreen(); + DrawSurfaceToScreen(); } else { SDL_CALL SDL_Delay(1); _screen.dst_ptr = _sdl_screen->pixels; |