mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:32:58 +00:00
fix for window refresh in shell mode
svn path=/trunk/; revision=15302
This commit is contained in:
parent
f20d4d059e
commit
ba43f28c68
1 changed files with 9 additions and 1 deletions
|
@ -3366,7 +3366,15 @@ static void refresh_child(ChildWnd* child)
|
||||||
|
|
||||||
scan_entry(child, &child->root.entry, 0, child->hwnd);
|
scan_entry(child, &child->root.entry, 0, child->hwnd);
|
||||||
|
|
||||||
entry = read_tree(&child->root, path, NULL, drv, child->sortOrder, child->hwnd);
|
#ifdef _SHELL_FOLDERS
|
||||||
|
if (child->root.entry.etype == ET_SHELL)
|
||||||
|
entry = read_tree(&child->root, NULL, get_path_pidl(path,child->hwnd), drv, child->sortOrder, child->hwnd);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
entry = read_tree(&child->root, path, NULL, drv, child->sortOrder, child->hwnd);
|
||||||
|
|
||||||
|
if (!entry)
|
||||||
|
entry = &child->root.entry;
|
||||||
|
|
||||||
insert_entries(&child->left, child->root.entry.down, 0);
|
insert_entries(&child->left, child->root.entry.down, 0);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue