Added missing line to make things compile.
authordewyatt
Tue, 06 Jul 2010 03:27:22 -0400
changeset 4748 d1ce08e2697f
parent 4747 5284a3b3217a
child 4749 0fa503d49cb4
Added missing line to make things compile.
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;
 
 }