changeset 4748:d1ce08e2697f

Added missing line to make things compile.
author dewyatt
date Tue, 06 Jul 2010 03:27:22 -0400
parents 5284a3b3217a
children 0fa503d49cb4
files src/video/win32/SDL_win32keyboard.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 
 }