diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-09-24 20:33:28 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-09-24 20:33:28 +0000 |
commit | 5ef7edee2a5d7eae4bb110e497d2e63b633348c8 (patch) | |
tree | 33ade0a35721a3f056d313e6cb3d5347b9b117aa /protocols/Quotes/CreateFilePath.cpp | |
parent | af1c7bfc0cd0f76570e364dbb57cf447052c1ed5 (diff) |
Quotes:
fixed crash on start
git-svn-id: http://svn.miranda-ng.org/main/trunk@1643 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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)
|