summaryrefslogtreecommitdiff
path: root/protocols/MRA/Mra.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-20 19:15:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-20 19:15:17 +0000
commit56eb98aae89ed7c503b1e776625a0347786fc85c (patch)
treea2c0fc3af05685e2391c73ad37a8de39f7d75839 /protocols/MRA/Mra.cpp
parent0308f566ea2232525f3dd53995050b78824521cd (diff)
mra icons are global now
git-svn-id: http://svn.miranda-ng.org/main/trunk@1611 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/Mra.cpp')
-rw-r--r--protocols/MRA/Mra.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/protocols/MRA/Mra.cpp b/protocols/MRA/Mra.cpp
index 92a361ce61..52d05db75f 100644
--- a/protocols/MRA/Mra.cpp
+++ b/protocols/MRA/Mra.cpp
@@ -17,9 +17,10 @@ PLUGININFOEX pluginInfoEx = {
{ 0xe7c48bab, 0x8ace, 0x4cb3, { 0x84, 0x46, 0xd4, 0xb7, 0x34, 0x81, 0xf4, 0x97 } }
};
+void IconsLoad();
-int OnModulesLoaded (WPARAM wParam, LPARAM lParam);
-int OnPreShutdown (WPARAM wParam, LPARAM lParam);
+int OnModulesLoaded(WPARAM wParam, LPARAM lParam);
+int OnPreShutdown(WPARAM wParam, LPARAM lParam);
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID Reserved)
{
@@ -76,6 +77,8 @@ extern "C" MRA_API int Load(void)
{
mir_getLP(&pluginInfoEx);
+ IconsLoad();
+
size_t dwBuffLen;
WCHAR szBuff[MAX_FILEPATH];
LPSTR lpszFullFileName = (LPSTR)szBuff;