https://git.reactos.org/?p=reactos.git;a=commitdiff;h=683d81b7db986f892b9ba…
commit 683d81b7db986f892b9ba1c728e287420ece1353
Author: Robert Naumann <gonzomdx(a)gmail.com>
AuthorDate: Wed Nov 2 21:17:40 2022 +0100
Commit: Robert Naumann <gonzomdx(a)gmail.com>
CommitDate: Wed Nov 2 21:17:40 2022 +0100
[REGEDIT] Readd ILC_COLOR32 to the Treeview icons
Fixes regression introduced in 36a7f0dc
---
base/applications/regedit/treeview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/applications/regedit/treeview.c b/base/applications/regedit/treeview.c
index 5bf1dbaade0..4320846c283 100644
--- a/base/applications/regedit/treeview.c
+++ b/base/applications/regedit/treeview.c
@@ -443,7 +443,7 @@ static BOOL InitTreeViewImageLists(HWND hwndTV)
INT cy = GetSystemMetrics(SM_CYSMICON);
/* Create the image list. */
- if ((himl = ImageList_Create(cx, cy, ILC_MASK, 0, NUM_ICONS)) == NULL)
+ if ((himl = ImageList_Create(cx, cy, ILC_MASK | ILC_COLOR32, 0, NUM_ICONS)) == NULL)
return FALSE;
/* Add the open file, closed file, and document bitmaps. */