[REGEDIT] Readd ILC_COLOR32 to the Treeview icons
authorRobert Naumann <gonzomdx@gmail.com>
Wed, 2 Nov 2022 20:17:40 +0000 (21:17 +0100)
committerRobert Naumann <gonzomdx@gmail.com>
Wed, 2 Nov 2022 20:17:40 +0000 (21:17 +0100)
Fixes regression introduced in 36a7f0dc

base/applications/regedit/treeview.c

index 5bf1dba..4320846 100644 (file)
@@ -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.  */