diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-16 17:32:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-16 17:32:09 +0000 |
commit | 9c6390cf431905fcb8749b80c55794031ded2d8a (patch) | |
tree | 52717716a8199522af6649f0475b5ca11f017bc4 /src/modules | |
parent | f3fe14fbf6554ac512405d33950f07688c0fc030 (diff) |
no need to translate the same string twice
git-svn-id: http://svn.miranda-ng.org/main/trunk@7251 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/clist/genmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|