Skip to content

Commit 1f6e06f

Browse files
committed
Use proper flag in LoadMetroIcon
1 parent ed3675c commit 1f6e06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StartMenu/StartMenuDLL/ItemManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,7 @@ void CItemManager::LoadMetroIcon( IShellItem *pItem, int &refreshFlags, const Ic
24422442
StoreInCache(hash,L"",NULL,hLargeBitmap,NULL,INFO_LARGE_ICON,smallIcon,largeIcon,extraLargeIcon,false,true);
24432443
}
24442444
}
2445-
if ((refreshFlags&INFO_SMALL_ICON) && SetResContextTargetSize(pResContext,EXTRA_LARGE_ICON_SIZE-delta))
2445+
if ((refreshFlags&INFO_EXTRA_LARGE_ICON) && SetResContextTargetSize(pResContext,EXTRA_LARGE_ICON_SIZE-delta))
24462446
{
24472447
CComString pLocation;
24482448
if (SUCCEEDED(pResMap->GetFilePath(iconName,&pLocation)))

0 commit comments

Comments
 (0)