summaryrefslogtreecommitdiff
path: root/plugins/NewsAggregator/Src/Menus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
commitb3506557a58f53ed0fc3a96c4ec4a3b8098a542d (patch)
tree520a1cb861afa7600c0553ce8b2558f725a70ed1 /plugins/NewsAggregator/Src/Menus.cpp
parent4625aafb053a002f0223bfbe76abfbec629feacf (diff)
- CLISTMENUITEM::cbSize - atavism removed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewsAggregator/Src/Menus.cpp')
-rw-r--r--plugins/NewsAggregator/Src/Menus.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/NewsAggregator/Src/Menus.cpp b/plugins/NewsAggregator/Src/Menus.cpp
index bf9bf100d1..bf40363323 100644
--- a/plugins/NewsAggregator/Src/Menus.cpp
+++ b/plugins/NewsAggregator/Src/Menus.cpp
@@ -23,7 +23,7 @@ HGENMENU hService2[7];
void InitMenu()
{
- CLISTMENUITEM mi = { sizeof(mi) };
+ CLISTMENUITEM mi = { 0 };
mi.pszContactOwner = MODULE;
mi.flags = CMIF_TCHAR | CMIF_NOTOFFLINE;
@@ -75,7 +75,6 @@ void InitMenu()
hService2[6] = Menu_AddContactMenuItem(&mi);
memset(&mi, 0, sizeof(mi));
- mi.cbSize = sizeof(mi);
mi.flags = CMIM_ICON;
if (db_get_b(NULL, MODULE, "AutoUpdate", 1))
mi.icolibItem = GetIconHandle("enabled");