mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08: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:
@@ -2205,8 +2205,7 @@ ChangePos:
|
||||
pt.x = (SHORT) LOWORD(lParam);
|
||||
pt.y = (SHORT) HIWORD(lParam);
|
||||
|
||||
if (PtInRect(&rcClient,
|
||||
pt))
|
||||
if (PtInRect(&rcClient, pt))
|
||||
{
|
||||
/* The user is trying to drag the tray window */
|
||||
return HTCAPTION;
|
||||
@@ -2236,7 +2235,6 @@ ChangePos:
|
||||
}
|
||||
}
|
||||
return HTBORDER;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
LRESULT OnMoving(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
|
||||
|
||||
Reference in New Issue
Block a user