From: David Quintana Date: Tue, 20 May 2014 12:32:38 +0000 (+0000) Subject: [BROWSEUI] X-Git-Tag: backups/shell-experiments@75904~241 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=033b716da1e51527e4ba4a41a24e83d5e5656d0c [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 --- 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);