[Mplayer-cvslog] CVS: main get_path.c,1.3,1.4
Sascha Sommer CVS
faust3 at mplayerhq.hu
Fri Apr 18 22:12:03 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv14006
Modified Files:
get_path.c
Log Message:
10l
Index: get_path.c
===================================================================
RCS file: /cvsroot/mplayer/main/get_path.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- get_path.c 18 Apr 2003 18:17:05 -0000 1.3
+++ get_path.c 18 Apr 2003 20:11:36 -0000 1.4
@@ -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;
More information about the MPlayer-cvslog
mailing list