diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-12 19:39:37 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-12 19:39:37 +0000 |
commit | 61b011937f55446542eb829004d14336837f1ce7 (patch) | |
tree | 0dca06f2437235c3e0869c8f286852c7b4c2d83d /plugins/AssocMgr/src/utils.cpp | |
parent | 790a76cb05ae8c3700391ccdb49e8e568f8f4283 (diff) |
final variant of profile name's fix for AssocMgr
git-svn-id: http://svn.miranda-ng.org/main/trunk@3077 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr/src/utils.cpp')
-rw-r--r-- | plugins/AssocMgr/src/utils.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/AssocMgr/src/utils.cpp b/plugins/AssocMgr/src/utils.cpp index e6414eeb02..031ec3b6e9 100644 --- a/plugins/AssocMgr/src/utils.cpp +++ b/plugins/AssocMgr/src/utils.cpp @@ -21,15 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "common.h"
-DWORD WINAPI GetModuleFileNameWorkaround(HMODULE hModule,TCHAR *pszFileName,DWORD nSize)
-{
- /* GetModuleFileName() commonly crashes when hModule=NULL and
- * miranda32.exe was compiled without version resource */
- if(hModule==NULL) hModule=GetModuleHandle(NULL);
- if(hModule==NULL) return 0;
- return GetModuleFileName(hModule,pszFileName,nSize);
-}
-
/************************* String Conv ****************************/
// mir_free() the return value
|