about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPsychoGod <temhbiumulllka@gmail.com>2013-02-25 13:48:31 +0200
committerPsychoGod <temhbiumulllka@gmail.com>2013-02-25 13:48:31 +0200
commitebdd1af7a3fbf609f7123e8355f18ca980b1921e (patch)
tree6b8e59df8a4f3d3f6e0fd5cf9029b89322976bde
parentf010791231c95eed49c63ce3f2e6809b8c932f27 (diff)
downloadzcatch-ebdd1af7a3fbf609f7123e8355f18ca980b1921e.tar.gz
zcatch-ebdd1af7a3fbf609f7123e8355f18ca980b1921e.zip
window center position when windowed on Windows :3
-rw-r--r--src/engine/client/backend_sdl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp
index 6fa6de01..37d1019a 100644
--- a/src/engine/client/backend_sdl.cpp
+++ b/src/engine/client/backend_sdl.cpp
@@ -499,7 +499,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Width, int *Height
 
 		#ifdef CONF_FAMILY_WINDOWS
 			if(!getenv("SDL_VIDEO_WINDOW_POS") && !getenv("SDL_VIDEO_CENTERED")) // ignore_convention
-				putenv("SDL_VIDEO_WINDOW_POS=8,27"); // ignore_convention
+				putenv("SDL_VIDEO_WINDOW_POS=center"); // ignore_convention
 		#endif
 	}