summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-30 21:40:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-30 21:40:51 +0300
commit81af1660759b655e0e65bf2f955ef50e87975a13 (patch)
tree3fe4b9669bd6232abb99725ed1fa7560e6f19584 /plugins/MenuItemEx/src/main.cpp
parentd049eb6dd9de7f10469b62e67afc1485d832b0c3 (diff)
minor code cleaning
Diffstat (limited to 'plugins/MenuItemEx/src/main.cpp')
-rw-r--r--plugins/MenuItemEx/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MenuItemEx/src/main.cpp b/plugins/MenuItemEx/src/main.cpp
index c8534b46bb..2872e57272 100644
--- a/plugins/MenuItemEx/src/main.cpp
+++ b/plugins/MenuItemEx/src/main.cpp
@@ -908,8 +908,7 @@ static void TabsrmmButtonsModify(MCONTACT hContact)
{
if (!DirectoryExists(hContact))
{
- BBButton bbd = { 0 };
- bbd.dwButtonID = 0;
+ BBButton bbd = {};
bbd.pszModuleName = MODULENAME;
bbd.bbbFlags = BBSF_DISABLED | BBSF_HIDDEN;
Srmm_SetButtonState(hContact, &bbd);