summaryrefslogtreecommitdiff
path: root/plugins/Weather/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-08-13 18:05:18 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-08-13 18:05:18 +0000
commit9f478bb53be99c6ad5cf69c1a61cc14900cf72b8 (patch)
tree4dc4cce5c3a437d1f502834f70f97cf2fdef74bb /plugins/Weather/src
parentf3700adeb2647b91f3613fe988be6e69e79c2e68 (diff)
icons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src')
-rw-r--r--plugins/Weather/src/weather.cpp3
1 files changed, 2 insertions, 1 deletions
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();