comctl32: Merge two if blocks with identical condition (PVS-Studio).
This commit is contained in:
parent
7d2d96a736
commit
2db0a3d01e
|
@ -4005,10 +4005,7 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN
|
||||||
rect.top = rect.bottom = infoPtr->ptClickPos.y;
|
rect.top = rect.bottom = infoPtr->ptClickPos.y;
|
||||||
|
|
||||||
InflateRect(&rect, GetSystemMetrics(SM_CXDRAG), GetSystemMetrics(SM_CYDRAG));
|
InflateRect(&rect, GetSystemMetrics(SM_CXDRAG), GetSystemMetrics(SM_CYDRAG));
|
||||||
}
|
|
||||||
|
|
||||||
if (infoPtr->bLButtonDown)
|
|
||||||
{
|
|
||||||
if (infoPtr->bMarqueeSelect)
|
if (infoPtr->bMarqueeSelect)
|
||||||
{
|
{
|
||||||
POINT coords_orig;
|
POINT coords_orig;
|
||||||
|
|
Loading…
Reference in New Issue