summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/loadicons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/loadicons.cpp')
-rw-r--r--plugins/SecureIM/src/loadicons.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/loadicons.cpp b/plugins/SecureIM/src/loadicons.cpp
index ab011af206..9939bd1a7c 100644
--- a/plugins/SecureIM/src/loadicons.cpp
+++ b/plugins/SecureIM/src/loadicons.cpp
@@ -71,7 +71,6 @@ int ReloadIcons(WPARAM wParam, LPARAM lParam)
return 0;
}
-
void InitIcons(void)
{
HINSTANCE hNewIconInst = NULL;
@@ -95,7 +94,7 @@ void InitIcons(void)
g_hIconInst = hNewIconInst;
TCHAR tszPath[MAX_PATH];
- GetModuleFileName(g_hInst, tszPath, SIZEOF(tszPath));
+ GetModuleFileName(g_hIconInst, tszPath, SIZEOF(tszPath));
SKINICONDESC sid = { sizeof(sid) };
sid.pszSection = "SecureIM";