[BROWSEUI]
authorDavid Quintana <gigaherz@gmail.com>
Tue, 20 May 2014 12:32:38 +0000 (12:32 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Tue, 20 May 2014 12:32:38 +0000 (12:32 +0000)
* 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

index 28631b2..70e26f9 100644 (file)
@@ -1058,7 +1058,7 @@ HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
 
         index = SHMapPIDLToSystemImageListIndex(sf, pidlChild, &indexOpen);
 
 
         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);
 
         HICON icSmall = ImageList_GetIcon(himlSmall, indexOpen, 0);
         HICON icLarge = ImageList_GetIcon(himlLarge, indexOpen, 0);