Commit 4d4513bb authored by Angelo Haller's avatar Angelo Haller Committed by Alexandre Julliard

comctl32/listview: Don't send LVN_ODSTATECHANGED for empty ranges.

parent c7329015
......@@ -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));
......
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