diff src/video/windx5/SDL_dx5events.c @ 458:a8a0a4f19df7

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 20 Aug 2002 04:55:37 +0000
parents a6fa62b1be09
children a888b3ae31ff
line wrap: on
line diff
--- 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),