mirror of
https://github.com/reactos/reactos.git
synced 2024-08-08 04:08:29 +00:00
[EXPLORER_NEW]
- Fix rectangle copypasta in ITrayWindowImpl_RegLoadSettings. Patch by Elton Chung svn path=/trunk/; revision=54231
This commit is contained in:
parent
db3c333ce8
commit
a29cf1d59d
|
@ -644,7 +644,7 @@ static VOID
|
||||||
ITrayWindowImpl_ResizeWorkArea(IN OUT ITrayWindowImpl *This)
|
ITrayWindowImpl_ResizeWorkArea(IN OUT ITrayWindowImpl *This)
|
||||||
{
|
{
|
||||||
RECT rcTray,rcWorkArea;
|
RECT rcTray,rcWorkArea;
|
||||||
|
|
||||||
/* If monitor has changed then fix the previous monitors work area */
|
/* If monitor has changed then fix the previous monitors work area */
|
||||||
if(This->PreviousMonitor!=This->Monitor)
|
if(This->PreviousMonitor!=This->Monitor)
|
||||||
{
|
{
|
||||||
|
@ -792,7 +792,7 @@ ITrayWindowImpl_RegLoadSettings(IN OUT ITrayWindowImpl *This)
|
||||||
rcScreen.left = 0;
|
rcScreen.left = 0;
|
||||||
rcScreen.top = 0;
|
rcScreen.top = 0;
|
||||||
rcScreen.right = GetSystemMetrics(SM_CXSCREEN);
|
rcScreen.right = GetSystemMetrics(SM_CXSCREEN);
|
||||||
rcScreen.right = GetSystemMetrics(SM_CYSCREEN);
|
rcScreen.bottom = GetSystemMetrics(SM_CYSCREEN);
|
||||||
ITrayWindowImpl_GetScreenRectFromRect(This,
|
ITrayWindowImpl_GetScreenRectFromRect(This,
|
||||||
&rcScreen,
|
&rcScreen,
|
||||||
MONITOR_DEFAULTTOPRIMARY);
|
MONITOR_DEFAULTTOPRIMARY);
|
||||||
|
|
Loading…
Reference in a new issue