From b3506557a58f53ed0fc3a96c4ec4a3b8098a542d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 22 Jun 2015 13:35:02 +0000 Subject: - CLISTMENUITEM::cbSize - atavism removed; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/icq_xstatus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IcqOscarJ/src/icq_xstatus.cpp') diff --git a/protocols/IcqOscarJ/src/icq_xstatus.cpp b/protocols/IcqOscarJ/src/icq_xstatus.cpp index d9d87ad116..a82e72e5dd 100644 --- a/protocols/IcqOscarJ/src/icq_xstatus.cpp +++ b/protocols/IcqOscarJ/src/icq_xstatus.cpp @@ -780,7 +780,7 @@ void CIcqProto::setXStatusEx(BYTE bXStatus, BYTE bQuiet) BYTE bOldXStatus = getByte(DBSETTING_XSTATUS_ID, 0); if (!m_bHideXStatusUI) { - CLISTMENUITEM mi = { sizeof(mi) }; + CLISTMENUITEM mi = { 0 }; if (bOldXStatus <= XSTATUS_COUNT) { mi.flags = CMIM_FLAGS; Menu_ModifyItem(hXStatusItems[bOldXStatus], &mi); @@ -859,7 +859,7 @@ void CIcqProto::InitXStatusItems(BOOL bAllowStatus) mir_snprintf(szItem, _countof(szItem), Translate("%s Custom Status"), m_szModuleName); - CLISTMENUITEM mi = { sizeof(mi) }; + CLISTMENUITEM mi = { 0 }; mi.pszPopupName = szItem; mi.popupPosition = 500084000; mi.position = 2000040000; -- cgit v1.2.3