summaryrefslogtreecommitdiff
path: root/plugins/SkypeStatusChange/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SkypeStatusChange/src/options.cpp')
-rw-r--r--plugins/SkypeStatusChange/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SkypeStatusChange/src/options.cpp b/plugins/SkypeStatusChange/src/options.cpp
index cef55fa17f..29514f6529 100644
--- a/plugins/SkypeStatusChange/src/options.cpp
+++ b/plugins/SkypeStatusChange/src/options.cpp
@@ -162,7 +162,7 @@ void FreeMemory(HWND hwndTreeCtrl,HTREEITEM hti)
bool tree_set_item_state(HWND hwndTree,HTREEITEM hti,ETreeCheckBoxState nState)
{
TVITEM tvi;
- ZeroMemory(&tvi,sizeof(tvi));
+ memset(&tvi, 0, sizeof(tvi));
tvi.mask = TVIF_STATE|TVIF_HANDLE;
tvi.hItem = hti;