From 1c6adee432acbc6ea6e8f7108d972d85f1017232 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 27 Aug 2013 18:07:41 +0000 Subject: fixes for StatusIconData initialization git-svn-id: http://svn.miranda-ng.org/main/trunk@5863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/srmm_menu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/Popup') diff --git a/plugins/Popup/src/srmm_menu.cpp b/plugins/Popup/src/srmm_menu.cpp index ed6e3a2952..28e6da3f8a 100644 --- a/plugins/Popup/src/srmm_menu.cpp +++ b/plugins/Popup/src/srmm_menu.cpp @@ -71,8 +71,7 @@ static void SrmmMenu_UpdateIcon(HANDLE hContact) int mode = db_get_b(hContact, MODULNAME, "ShowMode", PU_SHOWMODE_AUTO); - StatusIconData sid = {0}; - sid.cbSize = sizeof(sid); + StatusIconData sid = { sizeof(sid) }; sid.szModule = MODULNAME; for (int i=0; i < 4; ++i) { -- cgit v1.2.3