mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
comctl32: Use SetRectEmty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a29a3c8a0b
commit
d49201138d
1 changed files with 3 additions and 3 deletions
|
@ -10061,7 +10061,7 @@ static LRESULT LISTVIEW_KillFocus(LISTVIEW_INFO *infoPtr)
|
|||
LISTVIEW_InvalidateRect(infoPtr, &infoPtr->marqueeRect);
|
||||
ReleaseCapture();
|
||||
|
||||
SetRect(&infoPtr->marqueeRect, 0, 0, 0, 0);
|
||||
SetRectEmpty(&infoPtr->marqueeRect);
|
||||
|
||||
infoPtr->bMarqueeSelect = FALSE;
|
||||
infoPtr->bScrolling = FALSE;
|
||||
|
@ -10330,8 +10330,8 @@ static LRESULT LISTVIEW_LButtonUp(LISTVIEW_INFO *infoPtr, WORD wKey, INT x, INT
|
|||
ReleaseCapture();
|
||||
}
|
||||
|
||||
SetRect(&infoPtr->marqueeRect, 0, 0, 0, 0);
|
||||
SetRect(&infoPtr->marqueeDrawRect, 0, 0, 0, 0);
|
||||
SetRectEmpty(&infoPtr->marqueeRect);
|
||||
SetRectEmpty(&infoPtr->marqueeDrawRect);
|
||||
|
||||
infoPtr->bDragging = FALSE;
|
||||
infoPtr->bMarqueeSelect = FALSE;
|
||||
|
|
Loading…
Reference in a new issue