mirror of
https://github.com/reactos/wine.git
synced 2024-12-03 01:12:25 +00:00
comctl32: Simplify the code.
This commit is contained in:
parent
42c5ff799a
commit
4be9f0a79b
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user