Fixed display bug.

This commit is contained in:
Piotr Caban 2004-12-14 11:43:30 +00:00 committed by Alexandre Julliard
parent 987dc01cab
commit fa5c73f1cf
1 changed files with 3 additions and 1 deletions

View File

@ -2337,8 +2337,10 @@ static void insert_entries(Pane* pane, Entry* dir, int idx)
ListBox_InsertItemData(pane->hwnd, idx, entry);
if (pane->treePane && entry->expanded)
if (pane->treePane && entry->expanded) {
insert_entries(pane, entry->down, idx);
idx = ListBox_GetCount(pane->hwnd)-1;
}
}
ShowWindow(pane->hwnd, SW_SHOW);