summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/main.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-09-10 18:34:46 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-09-10 18:34:46 +0000
commitf119a286dab1235008715b86020c15af7cf64be8 (patch)
tree3eb7ca848e2581bcd4f6cab09b1cbc1ae00563a0 /plugins/SecureIM/src/main.cpp
parent4f30986e0b8c25983eb43276295eea9f8f527f7e (diff)
SecureIM:
- Fixed context menu items (fixes #1017) git-svn-id: http://svn.miranda-ng.org/main/trunk@15322 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/main.cpp')
-rw-r--r--plugins/SecureIM/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp
index 8fdd79d65d..77094f61f1 100644
--- a/plugins/SecureIM/src/main.cpp
+++ b/plugins/SecureIM/src/main.cpp
@@ -40,10 +40,10 @@ BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD dwReason, LPVOID)
static HGENMENU MyAddMenuItem(LPCWSTR name, int pos, HICON hicon, LPCSTR service, int flags = 0, WPARAM wParam = 0)
{
CMenuItem mi;
- mi.flags = flags | CMIF_HIDDEN;
+ mi.flags = flags | CMIF_HIDDEN | CMIF_UNICODE;
mi.position = pos;
mi.hIcolibItem = hicon;
- mi.name.a = (char*)name;
+ mi.name.t = (TCHAR*)name;
mi.pszService = (char*)service;
return Menu_AddContactMenuItem(&mi);
}