From b713974cd885defceace4f786254fe2127158a23 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Wed, 15 Nov 2006 19:49:16 +0000 Subject: (svn r7156) -Codechange: Remove obsolete variable, localize global variable, use GB and change logic of the win32: TAB speeds up, but ALT+TAB doesn't code. --- video/sdl_v.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'video/sdl_v.c') diff --git a/video/sdl_v.c b/video/sdl_v.c index b0630b27d..f72d620fe 100644 --- a/video/sdl_v.c +++ b/video/sdl_v.c @@ -423,7 +423,6 @@ static void SdlVideoMainLoop(void) uint32 next_tick = SDL_CALL SDL_GetTicks() + 30; uint32 cur_ticks; uint32 pal_tick = 0; - int i; uint32 mod; int numkeys; Uint8 *keys; @@ -431,7 +430,7 @@ static void SdlVideoMainLoop(void) for (;;) { InteractiveRandom(); // randomness - while ((i = PollEvent()) == -1) {} + while (PollEvent() == -1) {} if (_exit_game) return; mod = SDL_CALL SDL_GetModState(); -- cgit v1.2.3-70-g09d2