summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/src/main.cpp
diff options
context:
space:
mode:
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);