https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9049638dac6774eeceafa5...
commit 9049638dac6774eeceafa51a4e2a5e17acabf36e Author: Thamatip Chitpong thamatip.chitpong@reactos.org AuthorDate: Wed Aug 2 13:40:50 2023 +0700 Commit: Thamatip Chitpong thamatip.chitpong@reactos.org CommitDate: Thu Aug 3 16:43:08 2023 +0700
[EXPLORER] Fix taskbar large icon for some apps
Addendum to 0e8cf6f (#5465). CORE-11698 --- base/shell/explorer/taskswnd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/shell/explorer/taskswnd.cpp b/base/shell/explorer/taskswnd.cpp index abe3f10ae47..2602a76c686 100644 --- a/base/shell/explorer/taskswnd.cpp +++ b/base/shell/explorer/taskswnd.cpp @@ -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)