summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/OptionDukasCopy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/OptionDukasCopy.cpp')
-rw-r--r--plugins/Quotes/src/OptionDukasCopy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/OptionDukasCopy.cpp b/plugins/Quotes/src/OptionDukasCopy.cpp
index 162c95bb7f..9f2397020c 100644
--- a/plugins/Quotes/src/OptionDukasCopy.cpp
+++ b/plugins/Quotes/src/OptionDukasCopy.cpp
@@ -28,7 +28,7 @@ namespace
{
// USES_CONVERSION;
TVINSERTSTRUCT tvi;
- ZeroMemory(&tvi,sizeof(tvi));
+ memset(&tvi, 0, sizeof(tvi));
tvi.hParent = htiParent;
tvi.hInsertAfter = TVI_LAST;
@@ -152,7 +152,7 @@ namespace
void tree_do_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;