mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 13:53:58 +00:00
comctl32/listview: Don't send LVN_ODSTATECHANGED for empty ranges.
Signed-off-by: Angelo Haller <angelo@szanni.org>
This commit is contained in:
parent
c732901542
commit
4d4513bbad
|
@ -9032,6 +9032,7 @@ static VOID LISTVIEW_SetOwnerDataState(LISTVIEW_INFO *infoPtr, INT nFirst, INT n
|
|||
{
|
||||
NMLVODSTATECHANGE nmlv;
|
||||
|
||||
if (nFirst == nLast) return;
|
||||
if (!item) return;
|
||||
|
||||
ZeroMemory(&nmlv, sizeof(nmlv));
|
||||
|
|
Loading…
Reference in a new issue