From 5ef7edee2a5d7eae4bb110e497d2e63b633348c8 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 24 Sep 2012 20:33:28 +0000 Subject: Quotes: fixed crash on start git-svn-id: http://svn.miranda-ng.org/main/trunk@1643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Quotes/CreateFilePath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Quotes/CreateFilePath.cpp') diff --git a/protocols/Quotes/CreateFilePath.cpp b/protocols/Quotes/CreateFilePath.cpp index f1a3e4f331..23c0c345b0 100644 --- a/protocols/Quotes/CreateFilePath.cpp +++ b/protocols/Quotes/CreateFilePath.cpp @@ -29,7 +29,7 @@ namespace tstring CreateFilePath(const tstring& rsName) { TCHAR szPath[_MAX_PATH]; - ::GetModuleFileName(CModuleInfo::GetModuleHandle(),szPath,_MAX_PATH); + ::GetModuleFileName(g_hInstance,szPath,_MAX_PATH); TCHAR* p = _tcsrchr(szPath,_T('\\')); if(p) -- cgit v1.2.3