Commit 2db0a3d0 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

comctl32: Merge two if blocks with identical condition (PVS-Studio).

parent 7d2d96a7
...@@ -4005,10 +4005,7 @@ static LRESULT LISTVIEW_MouseMove(LISTVIEW_INFO *infoPtr, WORD fwKeys, INT x, IN ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment