diff options
Diffstat (limited to 'plugins/MirOTR/src/mirotrmenu.cpp')
-rw-r--r-- | plugins/MirOTR/src/mirotrmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/mirotrmenu.cpp b/plugins/MirOTR/src/mirotrmenu.cpp index 87807a5ee2..55dad23416 100644 --- a/plugins/MirOTR/src/mirotrmenu.cpp +++ b/plugins/MirOTR/src/mirotrmenu.cpp @@ -139,7 +139,8 @@ INT_PTR FreeOwnerDataMirOTRMenu(WPARAM, LPARAM lParam) INT_PTR OnAddMenuItemMirOTRMenu(WPARAM wParam, LPARAM lParam) { MENUITEMINFO *mii = (MENUITEMINFO*)wParam; - if (!mii || mii->cbSize != sizeof(MENUITEMINFO)) return 0; + if (!mii || mii->cbSize != sizeof(MENUITEMINFO)) + return 0; TMO_MenuItem mi; if (CallService(MO_GETMENUITEM, (WPARAM)lParam, (LPARAM)&mi) == 0) { |