diff options
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
|