diff options
author | George Hazan <george.hazan@gmail.com> | 2012-12-01 16:08:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-12-01 16:08:29 +0000 |
commit | 9e883e4ab12c0e6c9f91049ac82f43387993ddaa (patch) | |
tree | 7a2ca2fcbae794ab7cc0f8d6bb1b854fe3cdcb9d /plugins/SecureIM/src/loadicons.cpp | |
parent | d31d23e418dbf778e7cb9d9563e1a5a1bdb15d48 (diff) |
fix for loading icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@2595 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src/loadicons.cpp')
-rw-r--r-- | plugins/SecureIM/src/loadicons.cpp | 3 |
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";
|