diff OSWindow.cpp @ 1986:3ff1a608324a

typo
author zipi
date Sat, 02 Nov 2013 12:33:57 +0000
parents ef4dcee1b4a1
children 7e2dd49832b5
line wrap: on
line diff
--- a/OSWindow.cpp	Sat Nov 02 12:16:48 2013 +0000
+++ b/OSWindow.cpp	Sat Nov 02 12:33:57 2013 +0000
@@ -518,9 +518,10 @@
       window_total_height += GetSystemMetrics(SM_CYMENU);
   #endif
   MoveWindow(api_handle, ReadWindowsRegistryInt("window X", (GetSystemMetrics(SM_CXSCREEN) - window_total_width) / 2),
-                         ReadWindowsRegistryInt("window X", (GetSystemMetrics(SM_CYSCREEN) - window_total_height) / 2),
+                         ReadWindowsRegistryInt("window Y", (GetSystemMetrics(SM_CYSCREEN) - window_total_height) / 2),
                          window_total_width,
                          window_total_height, 0);
+  //SetWindowPos(api_handle, HWND_TOP, 0, 0, -1, -1, SWP_NOSIZE | SWP_SHOWWINDOW);
   #ifdef _DEBUG
     static HMENU debug_menu = CreateDebugMenuPanel();
     SetMenu(api_handle, debug_menu);