summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-08 22:25:24 +0000
committertron <tron@openttd.org>2005-07-08 22:25:24 +0000
commit1b4a0897b6944910edaeb8f34769a092110c0a0c (patch)
tree7b435600d289220b369f3d759ca520553f411357 /sdl.c
parent83f72f696a3ce82eea4cfcbbbdbf35b0823492e3 (diff)
downloadopenttd-1b4a0897b6944910edaeb8f34769a092110c0a0c.tar.xz
(svn r2535) Tabs
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdl.c b/sdl.c
index b56b36d65..f1df13727 100644
--- a/sdl.c
+++ b/sdl.c
@@ -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;