diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 20:36:33 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-08-12 20:36:33 +0000 |
commit | 5d55c351109d18bb46b97c7e6142f6f321595849 (patch) | |
tree | e0423a19189dadc6ca8b5b72dd881aa97a2c1ea7 /plugins/Alarms/src | |
parent | 2e2390295cbf3f8f24a938bf957d3ecd5b86d3a6 (diff) |
icons registration moved to Load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@10173 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/src')
-rw-r--r-- | plugins/Alarms/src/alarms.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Alarms/src/alarms.cpp b/plugins/Alarms/src/alarms.cpp index a7e8e391bb..5c38706ce8 100644 --- a/plugins/Alarms/src/alarms.cpp +++ b/plugins/Alarms/src/alarms.cpp @@ -172,9 +172,6 @@ static int InitTopToolbarButton(WPARAM wParam, LPARAM lParam) static int MainInit(WPARAM wparam,LPARAM lparam)
{
- // initialize icons
- InitIcons();
-
// TopToolbar support
HookEvent(ME_TTB_MODULELOADED, InitTopToolbarButton);
@@ -205,7 +202,10 @@ extern "C" int __declspec(dllexport) Load(void) LoadOptions();
InitList();
- HookEvent(ME_OPT_INITIALISE, OptInit );
+ // initialize icons
+ InitIcons();
+
+ HookEvent(ME_OPT_INITIALISE, OptInit);
return 0;
}
|