diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-07 18:33:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-07 18:33:37 +0000 |
commit | 5fdbe74ef5349341f2f513c92c920a57e9c9648b (patch) | |
tree | d33c28758ee685e022494c748ba5e866a37f78bf /src | |
parent | 41d8529ee8f6ab11090fccfe848189ba185aadf4 (diff) |
attempt to fix rclick on popups in NewXstatusNotify
git-svn-id: http://svn.miranda-ng.org/main/trunk@17273 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/menu_utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/menu_utils.cpp b/src/mir_app/src/menu_utils.cpp index 76955d5ae4..22f5634e79 100644 --- a/src/mir_app/src/menu_utils.cpp +++ b/src/mir_app/src/menu_utils.cpp @@ -444,7 +444,7 @@ int MO_ProcessCommandBySubMenuIdent(int menuID, int command, LPARAM lParam) MIR_APP_DLL(BOOL) Menu_ProcessCommandById(int command, LPARAM lParam)
{
if (!bIsGenMenuInited)
- return -1;
+ return false;
mir_cslock lck(csMenuHook);
for (int i = 0; i < g_menus.getCount(); i++)
@@ -469,7 +469,7 @@ MIR_APP_DLL(BOOL) Menu_ProcessCommand(HGENMENU hMenuItem, LPARAM lParam) }
LPCSTR srvname = pimi->parent->ExecService;
- CallService(srvname, (WPARAM)pimi->pUserData, lParam);
+ CallServiceSync(srvname, (WPARAM)pimi->pUserData, lParam);
return true;
}
|