changeset 458:a8a0a4f19df7

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 20 Aug 2002 04:55:37 +0000
parents d0ab9718bf91
children 2a778055dbba
files src/video/windx5/SDL_dx5events.c
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
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),