From 9f478bb53be99c6ad5cf69c1a61cc14900cf72b8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 13 Aug 2014 18:05:18 +0000 Subject: icons registration moved to Load() git-svn-id: http://svn.miranda-ng.org/main/trunk@10180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Weather') diff --git a/plugins/Weather/src/weather.cpp b/plugins/Weather/src/weather.cpp index 58b6f60f74..2d20cdf3be 100644 --- a/plugins/Weather/src/weather.cpp +++ b/plugins/Weather/src/weather.cpp @@ -122,7 +122,6 @@ int WeatherInit(WPARAM wParam,LPARAM lParam) // initialize netlib NetlibInit(); - InitIcons(); InitMwin(); // load weather menu items @@ -185,6 +184,8 @@ extern "C" int __declspec(dllexport) Load(void) // load options and set defaults LoadOptions(); + InitIcons(); + // reset the weather data at startup for individual contacts EraseAllInfo(); -- cgit v1.2.3