summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-13 21:53:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-13 21:53:42 +0000
commit68af6b15ae7fcafd0f2253fff3882832b26b3898 (patch)
treec4c0d905c1b0e934b94ebb764af45be35d9f4013 /plugins/Clist_modern/src/modern_clui.cpp
parentb2b03f9f63b17e77b92cdf48ea7a2f0ff4bc33e3 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index adb904fab5..b1ea419cb8 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -896,7 +896,7 @@ static int CLUI_GetConnectingIconForProtoCount(char *szAccoName)
if (!tszFolderPath[0]) {
TCHAR szRelativePath[MAX_PATH];
- GetModuleFileName(NULL, szRelativePath, MAX_PATH);
+ GetModuleFileName(GetModuleHandle(NULL), szRelativePath, MAX_PATH);
TCHAR *str = _tcsrchr(szRelativePath, '\\');
if (str != NULL)
*str = 0;