From ffcdf2f90f54de0ceac5b7d3fb9d9085e391a269 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 4 Feb 2011 09:07:39 -0800 Subject: [PATCH] Fixed compile error --HG-- branch : SDL-1.2 --- src/video/wincommon/SDL_sysevents.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/video/wincommon/SDL_sysevents.c b/src/video/wincommon/SDL_sysevents.c index b9c1d7dc9..76183e009 100644 --- a/src/video/wincommon/SDL_sysevents.c +++ b/src/video/wincommon/SDL_sysevents.c @@ -419,6 +419,7 @@ LRESULT CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) if ( SDL_VideoSurface && ! DINPUT() ) { WORD xbuttonval = 0; Uint8 button, state; + int x, y; /* DJM: We want the SDL window to take focus so that