changeset 9929:c2cf0f2a9a96

10l
author faust3
date Fri, 18 Apr 2003 20:11:36 +0000
parents fc5aba542810
children 6e50b9573cfa
files get_path.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/get_path.c	Fri Apr 18 18:47:57 2003 +0000
+++ b/get_path.c	Fri Apr 18 20:11:36 2003 +0000
@@ -14,8 +14,8 @@
 	{
     	int __stdcall GetModuleFileNameA(void* hModule,char* lpFilename,int nSize);
         int i,imax=0;       
-        char exedir[MAX_PATH];       
-        GetModuleFileNameA(NULL, exedir, MAX_PATH);
+        char exedir[260];       
+        GetModuleFileNameA(NULL, exedir, 260);
         for(i=0; i< strlen(exedir);i++)if(exedir[i] =='\\'){exedir[i]='/';imax=i;}
         exedir[imax]='\0';
 	    homedir = exedir;