summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_opt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather_opt.cpp')
-rw-r--r--plugins/Weather/src/weather_opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_opt.cpp b/plugins/Weather/src/weather_opt.cpp
index 87facdb349..fa2baba340 100644
--- a/plugins/Weather/src/weather_opt.cpp
+++ b/plugins/Weather/src/weather_opt.cpp
@@ -94,7 +94,7 @@ void DestroyOptions(void)
// load options from database + set default if the setting does not exist
void LoadOptions(void)
{
- ZeroMemory(&opt, sizeof(opt));
+ memset(&opt, 0, sizeof(opt));
// main options
opt.StartupUpdate = db_get_b(NULL, WEATHERPROTONAME, "StartupUpdate", true);