From 9e883e4ab12c0e6c9f91049ac82f43387993ddaa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Dec 2012 16:08:29 +0000 Subject: fix for loading icons git-svn-id: http://svn.miranda-ng.org/main/trunk@2595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/loadicons.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/SecureIM/src/loadicons.cpp') 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"; -- cgit v1.2.3