[Mplayer-cvslog] CVS: main m_option.c,1.9,1.10

Alban Bedel CVS albeu at mplayerhq.hu
Sun Apr 6 18:27:17 CEST 2003


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

Modified Files:
	m_option.c 
Log Message:
Don't give the initial / as part of the filename.


Index: m_option.c
===================================================================
RCS file: /cvsroot/mplayer/main/m_option.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- m_option.c	2 Apr 2003 16:11:15 -0000	1.9
+++ m_option.c	6 Apr 2003 16:27:14 -0000	1.10
@@ -1617,7 +1617,7 @@
 	// skip
       } else {
 	if(dst) {
-	  r = m_struct_set(desc,dst,"filename",ptr2);
+	  r = m_struct_set(desc,dst,"filename",ptr2+1);
 	  if(r < 0) {
 	    mp_msg(MSGT_CFGPARSER, MSGL_ERR, "Option %s: error while setting filename\n");
 	    return r;



More information about the MPlayer-cvslog mailing list