summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-23 14:40:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-23 14:40:24 +0000
commitebbbc63ddc421fffc217019714b8481bdd081c72 (patch)
tree6382ae2073ea47f5c4cf9af0d5d7d7047b2d81f5 /src/mir_app
parent783349cf534dbc7b74bab1e990ff163e162f6eed (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14352 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/clisttray.cpp1
-rw-r--r--src/mir_app/src/genmenu.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mir_app/src/clisttray.cpp b/src/mir_app/src/clisttray.cpp
index 68c98c2a11..688ac9764d 100644
--- a/src/mir_app/src/clisttray.cpp
+++ b/src/mir_app/src/clisttray.cpp
@@ -724,6 +724,7 @@ INT_PTR fnTrayIconProcessMessage(WPARAM wParam, LPARAM lParam)
TranslateMenu(hMenu);
MENUITEMINFO mi = { 0 };
+ mi.cbSize = sizeof(mi);
mi.fMask = MIIM_SUBMENU | MIIM_TYPE;
mi.fType = MFT_STRING;
mi.hSubMenu = (HMENU)CallService(MS_CLIST_MENUGETMAIN, 0, 0);
diff --git a/src/mir_app/src/genmenu.cpp b/src/mir_app/src/genmenu.cpp
index b060decb5c..290f30d5bf 100644
--- a/src/mir_app/src/genmenu.cpp
+++ b/src/mir_app/src/genmenu.cpp
@@ -86,7 +86,7 @@ LPTSTR GetMenuItemText(TMO_IntMenuItem *pimi)
///////////////////////////////////////////////////////////////////////////////
-TMO_IntMenuItem *MO_RecursiveWalkMenu(TMO_IntMenuItem *parent, pfnWalkFunc func, void* param)
+TMO_IntMenuItem* MO_RecursiveWalkMenu(TMO_IntMenuItem *parent, pfnWalkFunc func, void* param)
{
if (parent == NULL)
return FALSE;