summaryrefslogtreecommitdiff
path: root/protocols/Tlen
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-22 14:11:54 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-22 14:11:54 +0000
commitca410fe247243f87ac3234f526f708111f227c74 (patch)
tree53900a832c06219ff6fbc1e5a63dbe4d1b450785 /protocols/Tlen
parentb3506557a58f53ed0fc3a96c4ec4a3b8098a542d (diff)
various menu definition quirks
git-svn-id: http://svn.miranda-ng.org/main/trunk@14326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen')
-rw-r--r--protocols/Tlen/src/tlen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp
index 66e1d9c6ee..c0acd7d49d 100644
--- a/protocols/Tlen/src/tlen.cpp
+++ b/protocols/Tlen/src/tlen.cpp
@@ -264,7 +264,7 @@ void TlenProtocol::initMenuItems()
strncpy_s(text, sizeof(text), m_szModuleName, _TRUNCATE);
char *pSvcName = text + mir_strlen(text);
- CLISTMENUITEM mi = { 0 }, clmi = { sizeof(clmi) };
+ CLISTMENUITEM mi = { 0 }, clmi = { 0 };
clmi.flags = CMIM_FLAGS | CMIF_GRAYED;
mi.pszContactOwner = m_szModuleName;
@@ -280,7 +280,6 @@ void TlenProtocol::initMenuItems()
hMenuRoot = Menu_AddMainMenuItem(&mi);
mi.flags = CMIF_CHILDPOPUP;
- //mi.pszPopupName = (char *)hMenuRoot;
mi.hParentMenu = (HGENMENU)hMenuRoot;
hMenuChats = NULL;