[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:
Hermès Bélusca-Maïto 2018-04-07 19:06:04 +02:00
parent 29d56f2b29
commit eff4c2138d
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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)