Commit 4ee2e9e9 authored by Paul Rupe's avatar Paul Rupe Committed by Alexandre Julliard

Prevent crash when listview trace logging is on.

parent 8534e08a
......@@ -7428,13 +7428,14 @@ static LRESULT LISTVIEW_SetItemState(LISTVIEW_INFO *infoPtr, INT nItem, LPLVITEM
BOOL bResult = TRUE;
LVITEMW lvItem;
TRACE("(nItem=%d, lpLVItem=%s)\n", nItem, debuglvitem_t(lpLVItem, TRUE));
TRACE("(nItem=%d, state=%x, stateMask=%x)\n", nItem, lpLVItem->state,
lpLVItem->stateMask);
lvItem.iItem = nItem;
lvItem.iSubItem = 0;
lvItem.mask = LVIF_STATE;
lvItem.state = lpLVItem->state;
lvItem.stateMask = lpLVItem->stateMask ;
lvItem.stateMask = lpLVItem->stateMask;
if (nItem == -1)
{
......
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