From 9c6390cf431905fcb8749b80c55794031ded2d8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Dec 2013 17:32:09 +0000 Subject: no need to translate the same string twice git-svn-id: http://svn.miranda-ng.org/main/trunk@7251 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/genmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/clist/genmenu.cpp b/src/modules/clist/genmenu.cpp index 15882d6475..c5bc09d30e 100644 --- a/src/modules/clist/genmenu.cpp +++ b/src/modules/clist/genmenu.cpp @@ -509,7 +509,7 @@ INT_PTR MO_CreateNewMenuObject(WPARAM wParam, LPARAM lParam) TIntMenuObject* p = new TIntMenuObject(); p->id = NextObjectId++; p->pszName = mir_strdup(pmp->name); - p->ptszDisplayName = Langpack_PcharToTchar(LPCSTR(wParam)); + p->ptszDisplayName = mir_a2t(LPCSTR(wParam)); p->CheckService = mir_strdup(pmp->CheckService); p->ExecService = mir_strdup(pmp->ExecService); p->m_hMenuIcons = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), ILC_COLOR32 | ILC_MASK, 15, 100); -- cgit v1.2.3