fix ui_fileicon (WinUI3) newapi

Sat, 14 Oct 2023 10:01:22 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 14 Oct 2023 10:01:22 +0200
branch
newapi
changeset 217
b9798109c7d2
parent 216
391c2c723029
child 218
d06e7e8e53e1

fix ui_fileicon (WinUI3)

ui/winui/icons.cpp file | annotate | diff | comparison | revisions
--- a/ui/winui/icons.cpp	Fri Oct 13 19:53:21 2023 +0200
+++ b/ui/winui/icons.cpp	Sat Oct 14 10:01:22 2023 +0200
@@ -398,10 +398,10 @@
 
 UIEXPORT UiIcon* ui_fileicon(size_t size) {
 	bool large = true;
-	UiIcon** sys_folder_icon = &sys_folder_icon32;
+	UiIcon** sys_folder_icon = &sys_file_icon32;
 	if (size <= 24) {
 		large = false;
-		sys_folder_icon = &sys_folder_icon16;
+		sys_folder_icon = &sys_file_icon16;
 	}
 
 	if (*sys_folder_icon) {

mercurial