mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 07:40:09 +08:00
[EXPLORER] Fix taskbar large icon for some apps
Addendum to 0e8cf6f (#5465).
CORE-11698
This commit is contained in:
@@ -512,11 +512,11 @@ public:
|
||||
}
|
||||
#undef GET_ICON
|
||||
|
||||
hIcon = (HICON)GetClassLongPtr(hwnd, GCLP_HICONSM);
|
||||
hIcon = (HICON)GetClassLongPtr(hwnd, g_TaskbarSettings.bSmallIcons ? GCLP_HICONSM : GCLP_HICON);
|
||||
if (hIcon)
|
||||
return hIcon;
|
||||
|
||||
return (HICON)GetClassLongPtr(hwnd, GCLP_HICON);
|
||||
return (HICON)GetClassLongPtr(hwnd, g_TaskbarSettings.bSmallIcons ? GCLP_HICON : GCLP_HICONSM);
|
||||
}
|
||||
|
||||
INT UpdateTaskItemButton(IN PTASK_ITEM TaskItem)
|
||||
|
||||
Reference in New Issue
Block a user