[MPlayer-cvslog] CVS: main/input input.c,1.113,1.114
Aurelien Jacobs CVS
syncmail at mplayerhq.hu
Fri Apr 15 16:52:37 CEST 2005
CVS change done by Aurelien Jacobs CVS
Update of /cvsroot/mplayer/main/input
In directory mail:/var2/tmp/cvs-serv8317/input
Modified Files:
input.c
Log Message:
when parsing one cmd argument, only un-escape _this_ argument, not the following ones
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -r1.113 -r1.114
--- input.c 11 Apr 2005 21:26:14 -0000 1.113
+++ input.c 15 Apr 2005 14:52:33 -0000 1.114
@@ -628,7 +628,7 @@
} else if(!e) e = ptr+strlen(ptr);
l = e-start;
ptr2 = start;
- for(e = strchr(ptr2,'\\') ; e ; e = strchr(ptr2,'\\')) {
+ for(e = strchr(ptr2,'\\') ; e && e<start+l ; e = strchr(ptr2,'\\')) {
memmove(e,e+1,strlen(e));
ptr2 = e + 1;
l--;
More information about the MPlayer-cvslog
mailing list