diff options
Diffstat (limited to 'plugins/WhoUsesMyFiles')
-rw-r--r-- | plugins/WhoUsesMyFiles/src/wumfplug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhoUsesMyFiles/src/wumfplug.cpp b/plugins/WhoUsesMyFiles/src/wumfplug.cpp index 9ac45b6711..f15a0c6658 100644 --- a/plugins/WhoUsesMyFiles/src/wumfplug.cpp +++ b/plugins/WhoUsesMyFiles/src/wumfplug.cpp @@ -25,7 +25,7 @@ void LoadOptions() {
DBVARIANT dbv = { 0 };
dbv.type = DBVT_TCHAR;
- ZeroMemory(&WumfOptions, sizeof(WumfOptions));
+ memset(&WumfOptions, 0, sizeof(WumfOptions));
if (db_get_ts(NULL, MODULENAME, OPT_FILE, &dbv) == 0)
{
_tcsncpy(WumfOptions.LogFile, dbv.ptszVal, 255);
|