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/NoHistory/src/dllmain.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/NoHistory/src') diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp index 1e676bca57..22c6dde6e6 100644 --- a/plugins/NoHistory/src/dllmain.cpp +++ b/plugins/NoHistory/src/dllmain.cpp @@ -176,8 +176,7 @@ INT_PTR ServiceToggle(WPARAM wParam, LPARAM lParam) remove = !remove; db_set_b(hContact, MODULE, DBSETTING_REMOVE, remove != 0); - StatusIconData sid = {0}; - sid.cbSize = sizeof(sid); + StatusIconData sid = { sizeof(sid) }; sid.szModule = MODULE; for (int i = 0; i < 2; ++i) { -- cgit v1.2.3