comctl32/listview: Remove duplicated handle check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b397df631
commit
f1f7b7b509
|
@ -9899,7 +9899,7 @@ static LRESULT LISTVIEW_HScroll(LISTVIEW_INFO *infoPtr, INT nScrollCode,
|
|||
/* carry on only if it really changed */
|
||||
if (nNewScrollPos == nOldScrollPos) return 0;
|
||||
|
||||
if (infoPtr->hwndHeader) LISTVIEW_UpdateHeaderSize(infoPtr, nNewScrollPos);
|
||||
LISTVIEW_UpdateHeaderSize(infoPtr, nNewScrollPos);
|
||||
|
||||
/* now adjust to client coordinates */
|
||||
nScrollDiff = nOldScrollPos - nNewScrollPos;
|
||||
|
|
Loading…
Reference in New Issue