From f5baf2606966349e067d423a596722b66c401651 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 4 Jul 2012 14:14:58 +0000 Subject: - internal langpack preparation for hLangpack-dependent resource cleaning - langpack functions' names normalization (2Awk: safe for plugins written in Delphi) git-svn-id: http://svn.miranda-ng.org/main/trunk@758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/button/button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/button/button.cpp') diff --git a/src/modules/button/button.cpp b/src/modules/button/button.cpp index 2f7fce43f4..75c4148980 100644 --- a/src/modules/button/button.cpp +++ b/src/modules/button/button.cpp @@ -509,7 +509,7 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L if (lParam & BATF_UNICODE) ti.lpszText = mir_wstrdup(TranslateW((WCHAR*)wParam)); else - ti.lpszText = LangPackPcharToTchar((char*)wParam); + ti.lpszText = Langpack_PcharToTchar((char*)wParam); if (bct->pAccPropServices) { wchar_t *tmpstr = mir_t2u(ti.lpszText); bct->pAccPropServices->SetHwndPropStr(bct->hwnd, OBJID_CLIENT, -- cgit v1.2.3