diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-04-06 08:00:51 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-04-06 08:00:51 +0000 |
commit | cc765649fcd13feb9389d77853c20d76f40823ac (patch) | |
tree | 7b533571174e3c339ff193a92c32b12bdddd4299 /plugins/MenuItemEx | |
parent | 14e510c1104e283a32a46bc033e8a9dc21392c7b (diff) |
MenuItemEx: Fixed Copy ID and Hide/Show menus text
git-svn-id: http://svn.miranda-ng.org/main/trunk@4327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MenuItemEx')
-rw-r--r-- | plugins/MenuItemEx/src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp index 7070307b18..4cf3414006 100644 --- a/plugins/MenuItemEx/src/main.cpp +++ b/plugins/MenuItemEx/src/main.cpp @@ -529,7 +529,7 @@ void ModifyInvisSet(int mode,BOOL alpha) void ModifyCopyID(HANDLE hContact, BOOL bShowID, BOOL bTrimID)
{
CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIM_ICON | CMIM_NAME;
+ mi.flags = CMIM_ICON | CMIM_NAME | CMIF_UNICODE;
if (isMetaContact(hContact)) {
HANDLE hC = getMostOnline(hContact);
@@ -798,7 +798,7 @@ static HGENMENU AddSubmenuItem(HGENMENU hRoot, TCHAR* name, HICON icon, DWORD fl mi.position = pos;
mi.ptszName = name;
mi.hIcon = icon;
- mi.flags = CMIF_TCHAR | CMIF_CHILDPOPUP | flag;
+ mi.flags = CMIF_UNICODE | CMIF_CHILDPOPUP | flag;
mi.pszService = service;
return Menu_AddContactMenuItem(&mi);
}
@@ -807,7 +807,7 @@ static void ModifySubmenuItem(HGENMENU hItem, TCHAR *name, int checked, int hidd {
CLISTMENUITEM mi = { sizeof(mi) };
mi.ptszName = name;
- mi.flags = CMIM_FLAGS | CMIF_TCHAR;
+ mi.flags = CMIM_FLAGS | CMIF_UNICODE;
if (checked)
mi.flags |= CMIF_CHECKED;
if (hidden)
@@ -836,7 +836,7 @@ int BuildMenu(WPARAM wparam,LPARAM lparam) if (bEnabled) {
BYTE bHidden = db_get_b((HANDLE)wparam,"CList","Hidden",0);
CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags |= CMIM_ICON | CMIM_NAME;
+ mi.flags |= CMIM_ICON | CMIM_NAME | CMIF_UNICODE;
mi.hIcon = Skin_GetIcon(bHidden ? "miex_showil" : "miex_hidefl");
mi.ptszName = bHidden ? LPGENT("Show in list") : LPGENT("Hide from list");
Menu_ModifyItem(hmenuHide, &mi);
@@ -1090,7 +1090,7 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) ModuleLoad(0, 0);
CLISTMENUITEM mi = { sizeof(mi) };
- mi.flags = CMIF_TCHAR;
+ mi.flags = CMIF_UNICODE;
mi.hIcon = NULL;
mi.pszContactOwner = NULL;
@@ -1137,7 +1137,7 @@ static int PluginInit(WPARAM wparam,LPARAM lparam) EnumProtoSubmenu(0, 0);
- mi.flags = CMIF_TCHAR;
+ mi.flags = CMIF_UNICODE;
mi.position++;
mi.ptszName = LPGENT("Send 'You were added'");
|