[Mplayer-cvslog] CVS: main subreader.c,1.124,1.125

Sascha Sommer CVS faust3 at mplayerhq.hu
Thu Oct 9 20:47:47 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv5978

Modified Files:
	subreader.c 
Log Message:
sub autoloading fix for windows

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -r1.124 -r1.125
--- subreader.c	23 Sep 2003 05:36:47 -0000	1.124
+++ subreader.c	9 Oct 2003 18:47:16 -0000	1.125
@@ -1674,6 +1674,9 @@
     subcnt = 0;
     
     tmp = strrchr(fname,'/');
+#ifdef WIN32
+    if(!tmp)tmp = strrchr(fname,'\\');
+#endif
     
     // extract filename & dirname from fname
     if (tmp) {



More information about the MPlayer-cvslog mailing list