protect system image list
Modified: branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp
Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp

Modified: branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp
--- branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-04-03 11:58:31 UTC (rev 14472)
+++ branches/lean-explorer/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-04-03 12:14:30 UTC (rev 14473)
@@ -69,6 +69,8 @@
 
 ShellBrowserChild::~ShellBrowserChild()
 {
+	TreeView_SetImageList(_left_hwnd, 0, TVSIL_NORMAL);
+
 	if (_pShellView)
 		_pShellView->Release();
 
@@ -102,7 +104,7 @@
 		InitDragDrop();
 	}
 
-	const String& root_name = GetDesktopFolder().get_name(_create_info._root_shell_path, SHGDN_FORPARSING);
+	const String& root_name = GetDesktopFolder().get_name(_create_info._root_shell_path, SHGDN_FORADDRESSBAR);
 
 	_root._drive_type = DRIVE_UNKNOWN;
 	lstrcpy(_root._volname, root_name);

Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp
--- trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-04-03 11:58:31 UTC (rev 14472)
+++ trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-04-03 12:14:30 UTC (rev 14473)
@@ -50,6 +50,8 @@
 
 ShellBrowser::~ShellBrowser()
 {
+	TreeView_SetImageList(_left_hwnd, 0, TVSIL_NORMAL);
+
 	if (_pShellView)
 		_pShellView->Release();