From 61b011937f55446542eb829004d14336837f1ce7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 12 Jan 2013 19:39:37 +0000 Subject: 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 --- plugins/AssocMgr/src/utils.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/AssocMgr/src/utils.cpp') 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 -- cgit v1.2.3