fix for own regression in win32 from r54225, wrong args used in getAllDisplayDimensions()

caused bug [#34391] Window position not saving correctly for next start-up
This commit is contained in:
Campbell Barton 2013-02-26 09:33:54 +00:00
parent 8558fdd4c7
commit 87f1326108

@ -217,8 +217,8 @@ void GHOST_SystemWin32::getMainDisplayDimensions(GHOST_TUns32& width, GHOST_TUns
void GHOST_SystemWin32::getAllDisplayDimensions(GHOST_TUns32& width, GHOST_TUns32& height) const
{
width = ::GetSystemMetrics(SM_XVIRTUALSCREEN);
height = ::GetSystemMetrics(SM_YVIRTUALSCREEN);
width = ::GetSystemMetrics(SM_CXVIRTUALSCREEN);
height = ::GetSystemMetrics(SM_CYVIRTUALSCREEN);
}
GHOST_IWindow *GHOST_SystemWin32::createWindow(