From ee7adb861fc8d07d79186c473e68f1586c3da19b Mon Sep 17 00:00:00 2001 From: EinTim23 Date: Wed, 6 Nov 2024 13:19:32 +0100 Subject: [PATCH] fixed encoding issue on the try menu --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7a6a90b..edc0eb4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -136,7 +136,7 @@ public: protected: virtual wxMenu* CreatePopupMenu() override { wxMenu* menu = new wxMenu; - menu->Append(10004, _(currentSongTitle == "" ? "Not Playing" : currentSongTitle)); + menu->Append(10004, currentSongTitle == "" ? _("Not Playing") : wxString::FromUTF8(currentSongTitle)); menu->Enable(10004, false); menu->AppendSeparator(); menu->Append(10001, _("Settings"));