summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wbOSD/src/options.cpp')
-rw-r--r--plugins/wbOSD/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wbOSD/src/options.cpp b/plugins/wbOSD/src/options.cpp
index f23f949db3..7e3bf7f3a1 100644
--- a/plugins/wbOSD/src/options.cpp
+++ b/plugins/wbOSD/src/options.cpp
@@ -74,7 +74,7 @@ int selectFont(HWND hDlg, LOGFONT *lf)
HDC hDC = GetDC(hDlg);
CHOOSEFONT cf;
- ZeroMemory(&cf, sizeof(CHOOSEFONT));
+ memset(&cf, 0, sizeof(CHOOSEFONT));
cf.lStructSize = sizeof(cf);
cf.hwndOwner = hDlg;
cf.hDC = hDC;