Commit 4be9f0a7 authored by Florian Köberle's avatar Florian Köberle Committed by Alexandre Julliard

comctl32: Simplify the code.

parent 42c5ff79
......@@ -3311,20 +3311,11 @@ TREEVIEW_Expand(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *wineItem,
TRACE(" TVN_ITEMEXPANDING returned TRUE, exiting...\n");
return FALSE;
}
if (!wineItem->firstChild)
return FALSE;
wineItem->state |= TVIS_EXPANDED;
}
else
{
if (!wineItem->firstChild)
return FALSE;
if (!wineItem->firstChild)
return FALSE;
/* this item has already been expanded */
wineItem->state |= TVIS_EXPANDED;
}
wineItem->state |= TVIS_EXPANDED;
if (bExpandPartial)
FIXME("TVE_EXPANDPARTIAL not implemented\n");
......
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