From a29cf1d59d88c7a0c2892a5b1ac0509c9aa4b689 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sat, 22 Oct 2011 15:27:29 +0000 Subject: [PATCH] [EXPLORER_NEW] - Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung svn path=/trunk/; revision=54231 --- reactos/base/shell/explorer-new/traywnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/base/shell/explorer-new/traywnd.c b/reactos/base/shell/explorer-new/traywnd.c index 5af7cba3067..61d0d1a8bae 100644 --- a/reactos/base/shell/explorer-new/traywnd.c +++ b/reactos/base/shell/explorer-new/traywnd.c @@ -644,7 +644,7 @@ static VOID 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 @@ ITrayWindowImpl_RegLoadSettings(IN OUT ITrayWindowImpl *This) 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);