summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Weather/src/weather.cpp')
-rw-r--r--plugins/Weather/src/weather.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp
index 736293406c..458e7f1586 100644
--- a/plugins/Weather/src/weather.cpp
+++ b/plugins/Weather/src/weather.cpp
@@ -103,7 +103,7 @@ int WeatherShutdown(WPARAM wParam,LPARAM lParam)
int OnToolbarLoaded(WPARAM wParam, LPARAM lParam)
{
- TTBButton ttb = { sizeof(ttb) };
+ TTBButton ttb = { 0 };
ttb.name = LPGEN("Enable/disable auto update");
ttb.pszService = MS_WEATHER_ENABLED;
ttb.pszTooltipUp = LPGEN("Auto Update Enabled");