Author: tfaber Date: Sat Oct 22 15:27:29 2011 New Revision: 54231
URL: http://svn.reactos.org/svn/reactos?rev=54231&view=rev Log: [EXPLORER_NEW] - Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung
Modified: trunk/reactos/base/shell/explorer-new/traywnd.c
Modified: trunk/reactos/base/shell/explorer-new/traywnd.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer-new/tra... ============================================================================== --- trunk/reactos/base/shell/explorer-new/traywnd.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/explorer-new/traywnd.c [iso-8859-1] Sat Oct 22 15:27:29 2011 @@ -644,7 +644,7 @@ ITrayWindowImpl_ResizeWorkArea(IN OUT ITrayWindowImpl *This) { RECT rcTray,rcWorkArea; - + /* If monitor has changed then fix the previous monitors work area */ if(This->PreviousMonitor!=This->Monitor) { @@ -792,7 +792,7 @@ rcScreen.left = 0; rcScreen.top = 0; rcScreen.right = GetSystemMetrics(SM_CXSCREEN); - rcScreen.right = GetSystemMetrics(SM_CYSCREEN); + rcScreen.bottom = GetSystemMetrics(SM_CYSCREEN); ITrayWindowImpl_GetScreenRectFromRect(This, &rcScreen, MONITOR_DEFAULTTOPRIMARY);