summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-24 12:58:08 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-24 12:58:08 +0000
commit2104de821739508078c23dcc046a5640bf300ea1 (patch)
tree979e65e9f33d863183cd6aec31db96542df7ee3d
parent304b6c128a8c960e47940ffbf0f0fc17b6e559bd (diff)
TabSRMM: fix menu item duplication
git-svn-id: http://svn.miranda-ng.org/main/trunk@14361 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TabSRMM/src/chat/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp
index a3c8960ba9..f9d2f56a46 100644
--- a/plugins/TabSRMM/src/chat/tools.cpp
+++ b/plugins/TabSRMM/src/chat/tools.cpp
@@ -598,7 +598,7 @@ UINT CreateGCMenu(HWND hwndDlg, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO
void DestroyGCMenu(HMENU *hMenu, int iIndex)
{
- MENUITEMINFO mi = { 0 };
+ MENUITEMINFO mi = { sizeof(MENUITEMINFO) };
mi.fMask = MIIM_SUBMENU;
while (GetMenuItemInfo(*hMenu, iIndex, TRUE, &mi)) {
if (mi.hSubMenu != NULL)