From 5a59d4eb05e69851e1f34f2b81352a29d7cacd8f Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Fri, 24 Dec 2021 00:14:48 +0600 Subject: [PATCH] * Fix wrong title bar text for Windows --- src/qt/qt.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/qt/qt.c b/src/qt/qt.c index 907660a32..f167660cd 100644 --- a/src/qt/qt.c +++ b/src/qt/qt.c @@ -27,9 +27,17 @@ wchar_t* plat_get_string(int i) case IDS_2077: return L"Click to capture mouse."; case IDS_2078: +#ifdef _WIN32 + return L"Press F8+F12 to release mouse"; +#else return L"Press CTRL-END to release mouse"; +#endif case IDS_2079: +#ifdef _WIN32 + return L"Press F8+F12 or middle button to release mouse"; +#else return L"Press CTRL-END or middle button to release mouse"; +#endif case IDS_2080: return L"Failed to initialize FluidSynth"; case IDS_4099: