From 90637152d6c480bb58703474c3461b36d955673b Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 2 Oct 2005 12:25:42 +0000 Subject: [PATCH] fix directory traversing in explorer SDI windows svn path=/trunk/; revision=18211 --- reactos/subsys/system/explorer/shell/shellbrowser.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.cpp b/reactos/subsys/system/explorer/shell/shellbrowser.cpp index bc4ab4f0252..816d2fe8c14 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.cpp +++ b/reactos/subsys/system/explorer/shell/shellbrowser.cpp @@ -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 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(entry); _callback->entry_selected(entry); + } } }