From 81af1660759b655e0e65bf2f955ef50e87975a13 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Jul 2017 21:40:51 +0300 Subject: minor code cleaning --- plugins/MenuItemEx/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/MenuItemEx/src/main.cpp') 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); -- cgit v1.2.3