From 033b716da1e51527e4ba4a41a24e83d5e5656d0c Mon Sep 17 00:00:00 2001 From: David Quintana Date: Tue, 20 May 2014 12:32:38 +0000 Subject: [PATCH] [BROWSEUI] * Do not swap the big and small imagelist pointers. Fixes the explorer windows not having an icon in the taskbar. Note: the underlying issue preventing the taskbar from showing a 32x32 icon in the buttons still exists, so other apps with the same behaviour will still fail to draw. svn path=/branches/shell-experiments/; revision=63383 --- dll/win32/browseui/shellbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/win32/browseui/shellbrowser.cpp b/dll/win32/browseui/shellbrowser.cpp index 28631b20470..70e26f941ac 100644 --- a/dll/win32/browseui/shellbrowser.cpp +++ b/dll/win32/browseui/shellbrowser.cpp @@ -1058,7 +1058,7 @@ HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder, index = SHMapPIDLToSystemImageListIndex(sf, pidlChild, &indexOpen); - Shell_GetImageLists(&himlSmall, &himlLarge); + Shell_GetImageLists(&himlLarge, &himlSmall); HICON icSmall = ImageList_GetIcon(himlSmall, indexOpen, 0); HICON icLarge = ImageList_GetIcon(himlLarge, indexOpen, 0);