# HG changeset patch # User Olaf Wintermann # Date 1706527161 -3600 # Node ID 8649c6a29e6d960557c5a9902af9d4b2209e699e # Parent ee794586f51b35dffd8ac148550f727a388553eb fix wrong menu item list label string used diff -r ee794586f51b -r 8649c6a29e6d ui/winui/appmenu.cpp --- a/ui/winui/appmenu.cpp Mon Jan 29 12:15:19 2024 +0100 +++ b/ui/winui/appmenu.cpp Mon Jan 29 12:19:21 2024 +0100 @@ -193,7 +193,7 @@ char *menuItemLabel = (char*) (getvalue ? getvalue(elm, 0) : elm); MenuFlyoutItem mi = MenuFlyoutItem(); - wchar_t* wlabel = str2wstr((char*)elm, NULL); + wchar_t* wlabel = str2wstr(menuItemLabel ? menuItemLabel : "", NULL); mi.Text(wlabel); free(wlabel);