summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-24 21:10:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-24 21:10:26 +0000
commit06180e12fb4e995d345fd71e29ee39240afc9baf (patch)
tree110e6b8a12ba5005bc1cb1be3fb6ab5af952727d /protocols
parente274fb91433eb14ab2830c6509435fdf2ff55872 (diff)
MRA menu items went to protocol menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@616 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/MRA/Mra_functions.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/MRA/Mra_functions.cpp b/protocols/MRA/Mra_functions.cpp
index 1cd2630f1c..4764ded024 100644
--- a/protocols/MRA/Mra_functions.cpp
+++ b/protocols/MRA/Mra_functions.cpp
@@ -1412,7 +1412,8 @@ void CListCreateMenu(LONG lPosition,LONG lPopupPosition,HANDLE hMainIcon,LPSTR p
for (SIZE_T i=0;i<dwCount;i++)
{
memmove(pszServiceFunctionName,pgdiItems[i].lpszName,(lstrlenA(pgdiItems[i].lpszName)+1));
- if (pgdiItems[i].lpFunc) CreateServiceFunction(szServiceFunction,pgdiItems[i].lpFunc);
+ if (pgdiItems[i].lpFunc)
+ CreateServiceFunction(szServiceFunction,pgdiItems[i].lpFunc);
mi.position=(lPosition+i);
mi.icolibItem=hIcoLibIcons[i];
mi.ptszName=pgdiItems[i].lpwszDescr;
@@ -1423,7 +1424,7 @@ void CListCreateMenu(LONG lPosition,LONG lPopupPosition,HANDLE hMainIcon,LPSTR p
mi.flags=(CMIF_UNICODE);
}
- hResult[i] = (bIsMain) ? Menu_AddMainMenuItem(&mi) : Menu_AddContactMenuItem(&mi);
+ hResult[i] = (bIsMain) ? Menu_AddProtoMenuItem(&mi) : Menu_AddContactMenuItem(&mi);
if (i==0 && hMainIcon)
{