# HG changeset patch # User zipi # Date 1383395637 0 # Node ID 3ff1a608324a39aa59fcc13c209b6cf08a126eae # Parent ef4dcee1b4a170ab68e6b0e5a54e33110fbb0010 typo diff -r ef4dcee1b4a1 -r 3ff1a608324a OSWindow.cpp --- 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);