summaryrefslogtreecommitdiff
path: root/protocols/Quotes/IconLib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Quotes/IconLib.cpp')
-rw-r--r--protocols/Quotes/IconLib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Quotes/IconLib.cpp b/protocols/Quotes/IconLib.cpp
index 6957a35d0b..b131aa7009 100644
--- a/protocols/Quotes/IconLib.cpp
+++ b/protocols/Quotes/IconLib.cpp
@@ -42,11 +42,11 @@ namespace
void Quotes_IconsInit()
{
- USES_CONVERSION;
+ USES_CONVERSION;
SKINICONDESC sid = {0};
TCHAR szFile[MAX_PATH];
- ::GetModuleFileName(CModuleInfo::GetModuleHandle(), szFile, MAX_PATH);
+ ::GetModuleFileName(g_hInstance, szFile, MAX_PATH);
sid.cbSize = sizeof(SKINICONDESC);
sid.ptszDefaultFile = szFile;