diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-10 16:31:37 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-10 16:31:37 +0300 |
commit | 6b11c1df57c7e293df98fb4af0f8a7ed05cb850a (patch) | |
tree | cedc7aa3bc96a1e4e3f551860b18a55763d42187 /src/mir_app | |
parent | 9446fe458391fccdc34c1a962254847b661bd04d (diff) |
fixes #3906 (UInfoEx: не переводятся интересы в профиле контакта)
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|