when parsing one cmd argument, only un-escape _this_ argument, not the following ones
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15163 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
1 parent
b3bd58219b
commit
87584d10f6
1 file changed
+1
-1
+1
-1
@@ -628,7 +628,7 @@ mp_input_parse_cmd(char* str) {
|
||||
} 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--;
|
||||
|
||||
Reference in new issue
Block a user