From 6b11c1df57c7e293df98fb4af0f8a7ed05cb850a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Nov 2023 16:31:37 +0300 Subject: =?UTF-8?q?fixes=20#3906=20(UInfoEx:=20=D0=BD=D0=B5=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D1=8F=D1=82=D1=81=D1=8F=20=D0=B8?= =?UTF-8?q?=D0=BD=D1=82=D0=B5=D1=80=D0=B5=D1=81=D1=8B=20=D0=B2=20=D0=BF?= =?UTF-8?q?=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=D0=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mir_app/src/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/button.cpp b/src/mir_app/src/button.cpp index b97685716e..14bb5bb04f 100644 --- a/src/mir_app/src/button.cpp +++ b/src/mir_app/src/button.cpp @@ -467,7 +467,7 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR if (lParam & BATF_UNICODE) ti.lpszText = mir_wstrdup(TranslateW((wchar_t*)wParam)); else - ti.lpszText = Langpack_PcharToTchar((char*)wParam); + ti.lpszText = mir_wstrdup(TranslateW(_A2T((char*)wParam))); SendMessage(bct->hwndToolTips, TTM_ADDTOOL, 0, (LPARAM)&ti); SendMessage(bct->hwndToolTips, TTM_SETMAXTIPWIDTH, 0, 300); mir_free(ti.lpszText); -- cgit v1.2.3