src/video/windows/SDL_windowswindow.c
changeset 6839 2494f667555c
parent 6784 8fd20f04d5d9
child 6885 700f1b25f77f
     1.1 --- a/src/video/windows/SDL_windowswindow.c	Fri Feb 08 01:12:48 2013 -0800
     1.2 +++ b/src/video/windows/SDL_windowswindow.c	Fri Feb 08 07:14:50 2013 -0800
     1.3 @@ -557,7 +557,7 @@
     1.4  	{
     1.5  		HWND top;
     1.6  		SDL_WindowData *data = (SDL_WindowData *) window->driverdata;
     1.7 -		HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd;
     1.8 +		HWND hwnd = data->hwnd;
     1.9  		UINT flags = SWP_NOMOVE | SWP_NOSIZE;
    1.10  
    1.11  		if ( SDL_ShouldAllowTopmost() && (window->flags & SDL_WINDOW_INPUT_FOCUS ) ) {