fix directory traversing in explorer SDI windows
Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp

Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp
--- trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-10-02 12:24:10 UTC (rev 18210)
+++ trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-10-02 12:25:42 UTC (rev 18211)
@@ -112,6 +112,8 @@
 	-> 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 @@
 
 			entry = _cur_dir->find_entry(child_pidl);
 
-			if (entry)
+			if (entry) {
+				_cur_dir = static_cast<ShellDirectory*>(entry);
 				_callback->entry_selected(entry);
+			}
 		}
 	}