From 68af6b15ae7fcafd0f2253fff3882832b26b3898 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 13 Jun 2015 21:53:42 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_clui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_modern/src/modern_clui.cpp') 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; -- cgit v1.2.3