summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg
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/SimpleStatusMsg
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/SimpleStatusMsg')
-rw-r--r--plugins/SimpleStatusMsg/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp
index aceecf50d1..e4f4006455 100644
--- a/plugins/SimpleStatusMsg/src/main.cpp
+++ b/plugins/SimpleStatusMsg/src/main.cpp
@@ -1774,7 +1774,6 @@ static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
#ifdef _DEBUG
log2file("### Session started ###");
#endif
- IconsInit();
OnAccListChanged(0, 0);
LoadAwayMsgModule();
@@ -1919,6 +1918,8 @@ extern "C" int __declspec(dllexport) Load(void)
HookEvent(ME_SYSTEM_OKTOEXIT, OnOkToExit);
HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
+ IconsInit();
+
return 0;
}