mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[EXPLORER] Check m_Position for -1 before using it as an index
This fixes a crash on x64.
This commit is contained in:
parent
11ffa31155
commit
ce537f1ae9
1 changed files with 1 additions and 1 deletions
|
@ -1373,7 +1373,7 @@ GetPrimaryScreenRect:
|
|||
|
||||
m_TrayRects[m_Position] = rcTray;
|
||||
}
|
||||
else
|
||||
else if (m_Position != (DWORD)-1)
|
||||
{
|
||||
/* If the user isn't resizing the tray window we need to make sure the
|
||||
new size or position is valid. this is to prevent changes to the window
|
||||
|
|
Loading…
Reference in a new issue