summaryrefslogtreecommitdiff
path: root/protocols/MRA/Mra.cpp
diff options
context:
space:
mode:
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;