diff options
Diffstat (limited to 'protocols/Quotes/CreateFilePath.cpp')
-rw-r--r-- | protocols/Quotes/CreateFilePath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)
|