# HG changeset patch # User dewyatt # Date 1278401242 14400 # Node ID d1ce08e2697f4b82982c6c70a2bdca723d514cb1 # Parent 5284a3b3217a6f35bfe60c64b4c02f26fdf46689 Added missing line to make things compile. diff -r 5284a3b3217a -r d1ce08e2697f src/video/win32/SDL_win32keyboard.c --- a/src/video/win32/SDL_win32keyboard.c Tue Jul 06 02:34:49 2010 -0400 +++ b/src/video/win32/SDL_win32keyboard.c Tue Jul 06 03:27:22 2010 -0400 @@ -125,7 +125,8 @@ void WIN_StartTextInput(_THIS) { - HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd; + SDL_Window *window = SDL_GetKeyboardFocus(); + HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd; }