--- branches/lean-explorer/reactos/subsys/system/explorer/shell/mainframe.cpp 2006-01-01 14:26:25 UTC (rev 20512)
+++ branches/lean-explorer/reactos/subsys/system/explorer/shell/mainframe.cpp 2006-01-01 14:32:17 UTC (rev 20513)
@@ -304,7 +304,7 @@
if (wparam & OWM_ROOTED)
_create_info._root_shell_path = shell_path;
else
- _create_info._root_shell_path = SpecialFolderPath(CSIDL_DRIVES, _hwnd);
+ _create_info._root_shell_path = DesktopFolderPath(); //SpecialFolderPath(CSIDL_DRIVES, _hwnd);
jump_to(shell_path, (OPEN_WINDOW_MODE)wparam);
return TRUE;} // success
--- branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp 2006-01-01 14:26:25 UTC (rev 20512)
+++ branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp 2006-01-01 14:32:17 UTC (rev 20513)
@@ -611,13 +611,11 @@
{
CONTEXT("ShellBrowserChild::expand_folder()");
- //HTREEITEM hitem_sel = TreeView_GetSelection(_left_hwnd);
if (!_last_sel)
return false;
- if (expand)
- if (!TreeView_Expand(_left_hwnd, _last_sel, TVE_EXPAND))
- return false;
+ if (!TreeView_Expand(_left_hwnd, _last_sel, TVE_EXPAND))
+ return false;
for(HTREEITEM hitem=TreeView_GetChild(_left_hwnd,_last_sel); hitem; hitem=TreeView_GetNextSibling(_left_hwnd,hitem)) {
if ((ShellDirectory*)TreeView_GetItemData(_left_hwnd,hitem) == dir) {