summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 15:57:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 15:57:51 +0000
commit9a1ab603242f94edec2db84900c06e3738b3f76d (patch)
tree647fe865adb2416587986361e53e9b7a78bb1013 /src/modules
parent09be9b2dc7d37311fbb7e4bfaea2e481de09aeb0 (diff)
unneeded Unicode removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8299 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index aafd8efb6b..cfbd5da31d 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -333,8 +333,8 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam)
Menu_ShowItem(hMenuDefault, false);
Menu_ShowItem(hMenuDelete, false);
- mi.flags = CMIM_NAME | CMIF_TCHAR;
- mi.ptszName = (TCHAR*)TranslateT("Remove from MetaContact");
+ mi.flags = CMIM_NAME;
+ mi.pszName = "Remove from MetaContact";
Menu_ModifyItem(hMenuDelete, &mi);
//show subcontact menu items
@@ -410,8 +410,8 @@ int Meta_ModifyMenu(WPARAM wParam, LPARAM lParam)
// The contact is affected to a metacontact.
Menu_ShowItem(hMenuDefault, true);
- mi.flags = CMIM_NAME | CMIF_TCHAR;
- mi.ptszName = (TCHAR*)TranslateT("Remove from MetaContact");
+ mi.flags = CMIM_NAME;
+ mi.pszName = "Remove from MetaContact";
Menu_ModifyItem(hMenuDelete, &mi);
Menu_ShowItem(hMenuAdd, false);
@@ -497,20 +497,18 @@ void InitMenus()
hMenuDelete = Menu_AddContactMenuItem(&mi);
mi.position = -99000;
- mi.flags = CMIF_HIDDEN | CMIF_ROOTHANDLE;
+ mi.flags = CMIF_HIDDEN | CMIF_ROOTPOPUP;
mi.icolibItem = 0;
mi.pszName = LPGEN("Subcontacts");
hMenuRoot = Menu_AddContactMenuItem(&mi);
- char buffer[512], buffer2[512], buffer3[512];
+ char buffer[512], buffer2[512];
mi.flags = CMIF_HIDDEN | CMIF_CHILDPOPUP;
mi.hParentMenu = hMenuRoot;
for (int i = 0; i < MAX_CONTACTS; i++) {
mi.position--;
- strcpy(buffer3, (char *)Translate("Context"));
- strcat(buffer3, _itoa(i, buffer2, 10));
- mi.pszName = buffer3;
+ mi.pszName = "";
strcpy(buffer, "MetaContacts/MenuFunc");
strcat(buffer, _itoa(i, buffer2, 10));