From dcc561ccf83c7468bf512ab94db0c34bfdb49dfc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jun 2015 15:20:06 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Weather') 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"); -- cgit v1.2.3