mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
protect system image list
svn path=/branches/lean-explorer/; revision=14473
This commit is contained in:
@@ -69,6 +69,8 @@ ShellBrowserChild::ShellBrowserChild(HWND hwnd, HWND left_hwnd, WindowHandle& ri
|
||||
|
||||
ShellBrowserChild::~ShellBrowserChild()
|
||||
{
|
||||
TreeView_SetImageList(_left_hwnd, 0, TVSIL_NORMAL);
|
||||
|
||||
if (_pShellView)
|
||||
_pShellView->Release();
|
||||
|
||||
@@ -102,7 +104,7 @@ LRESULT ShellBrowserChild::Init(HWND hWndFrame)
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user