diff src/video/windx5/SDL_dx5events.c @ 833:31fa08b36380

Added support for SDL_VIDEO_WINDOW_POS and SDL_VIDEO_CENTERED on Windows
author Sam Lantinga <slouken@libsdl.org>
date Mon, 16 Feb 2004 21:09:24 +0000
parents b8d311d90021
children fb8b91365766
line wrap: on
line diff
--- a/src/video/windx5/SDL_dx5events.c	Mon Feb 16 21:06:10 2004 +0000
+++ b/src/video/windx5/SDL_dx5events.c	Mon Feb 16 21:09:24 2004 +0000
@@ -856,7 +856,7 @@
 	} else {
 		SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,
                         (WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX),
-                                 0, 0, 0, 0, NULL, NULL, SDL_Instance, NULL);
+                        CW_USEDEFAULT, CW_USEDEFAULT, 0, 0, NULL, NULL, SDL_Instance, NULL);
 		if ( SDL_Window == NULL ) {
 			SDL_SetError("Couldn't create window");
 			return(-1);