mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
fix directory traversing in explorer SDI windows
svn path=/trunk/; revision=18211
This commit is contained in:
parent
6a834bb1fb
commit
90637152d6
1 changed files with 5 additions and 1 deletions
|
@ -112,6 +112,8 @@ void ShellBrowser::jump_to(LPCITEMIDLIST pidl)
|
|||
-> see FileChildWindow::FileChildWindow()
|
||||
*/
|
||||
|
||||
LOG(FmtString(TEXT("ShellBrowser::jump_to(): pidl=%s"), (LPCTSTR)FileSysShellPath(pidl)));
|
||||
|
||||
if (_cur_dir) {
|
||||
static DynamicFct<LPITEMIDLIST(WINAPI*)(LPCITEMIDLIST, LPCITEMIDLIST)> ILFindChild(TEXT("SHELL32"), 24);
|
||||
|
||||
|
@ -127,8 +129,10 @@ void ShellBrowser::jump_to(LPCITEMIDLIST pidl)
|
|||
|
||||
entry = _cur_dir->find_entry(child_pidl);
|
||||
|
||||
if (entry)
|
||||
if (entry) {
|
||||
_cur_dir = static_cast<ShellDirectory*>(entry);
|
||||
_callback->entry_selected(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue