mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
Delete the items if we actually own them.
This commit is contained in:
parent
8f15b6e6b3
commit
bf761a331c
1 changed files with 1 additions and 1 deletions
|
@ -3890,7 +3890,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr)
|
|||
nmlv.iItem = i;
|
||||
notify_listview(infoPtr, LVN_DELETEITEM, &nmlv);
|
||||
}
|
||||
if (infoPtr->dwStyle & LVS_OWNERDATA)
|
||||
if (!(infoPtr->dwStyle & LVS_OWNERDATA))
|
||||
{
|
||||
hdpaSubItems = (HDPA)DPA_GetPtr(infoPtr->hdpaItems, i);
|
||||
for (j = 0; j < hdpaSubItems->nItemCount; j++)
|
||||
|
|
Loading…
Reference in a new issue