*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Tue, 20 Aug 2002 04:55:37 +0000
changeset 458 a8a0a4f19df7
parent 457 d0ab9718bf91
child 459 2a778055dbba
*** empty log message ***
src/video/windx5/SDL_dx5events.c
--- a/src/video/windx5/SDL_dx5events.c	Tue Aug 20 04:49:05 2002 +0000
+++ b/src/video/windx5/SDL_dx5events.c	Tue Aug 20 04:55:37 2002 +0000
@@ -805,13 +805,13 @@
 	if ( SDL_windowid ) {
 		SDL_Window = (HWND)strtol(SDL_windowid, NULL, 0);
 
-      /* DJM: we want all event's for the user specified
-         window to be handled by SDL.
-       */
-      if (SDL_Window) {
-         userWindowProc = (WNDPROC)GetWindowLong(SDL_Window, GWL_WNDPROC);
-         SetWindowLong(SDL_Window, GWL_WNDPROC, (LONG)WinMessage);
-      }
+		/* DJM: we want all event's for the user specified
+		   window to be handled by SDL.
+		 */
+		if (SDL_Window) {
+			userWindowProc = (WNDPROC)GetWindowLong(SDL_Window, GWL_WNDPROC);
+			SetWindowLong(SDL_Window, GWL_WNDPROC, (LONG)WinMessage);
+		}
 	} else {
 		SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,
                         (WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX),