mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 00:43:09 +00:00
[EXPLORER] Remove double 'return' statement. Determining whether it should be HTBORDER or HTCLIENT is left as an exercise to the reader.
Spotted by 'mudhead'. CORE-14528
This commit is contained in:
parent
29d56f2b29
commit
eff4c2138d
1 changed files with 1 additions and 3 deletions
|
@ -2205,8 +2205,7 @@ ChangePos:
|
||||||
pt.x = (SHORT) LOWORD(lParam);
|
pt.x = (SHORT) LOWORD(lParam);
|
||||||
pt.y = (SHORT) HIWORD(lParam);
|
pt.y = (SHORT) HIWORD(lParam);
|
||||||
|
|
||||||
if (PtInRect(&rcClient,
|
if (PtInRect(&rcClient, pt))
|
||||||
pt))
|
|
||||||
{
|
{
|
||||||
/* The user is trying to drag the tray window */
|
/* The user is trying to drag the tray window */
|
||||||
return HTCAPTION;
|
return HTCAPTION;
|
||||||
|
@ -2236,7 +2235,6 @@ ChangePos:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return HTBORDER;
|
return HTBORDER;
|
||||||
return TRUE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LRESULT OnMoving(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
LRESULT OnMoving(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue