summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-27 18:07:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-27 18:07:41 +0000
commit1c6adee432acbc6ea6e8f7108d972d85f1017232 (patch)
tree63c053f199c8c928f3911c2a1a719b853104d7a2 /plugins/NoHistory/src
parent86f31d8f021efa4145a6a67a775f5b72ffc5348d (diff)
fixes for StatusIconData initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@5863 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NoHistory/src')
-rw-r--r--plugins/NoHistory/src/dllmain.cpp3
1 files changed, 1 insertions, 2 deletions
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) {