mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 21:06:00 +00:00
Also use tab as cmd arg sepparator
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4827 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9ada242c51
commit
70109de178
@ -363,7 +363,7 @@ mp_input_parse_cmd(char* str) {
|
||||
for(i=0; ptr && i < MP_CMD_MAX_ARGS; i++) {
|
||||
ptr = strchr(ptr,' ');
|
||||
if(!ptr) break;
|
||||
while(ptr[0] == ' ') ptr++;
|
||||
while(ptr[0] == ' ' || ptr[0] == '\t') ptr++;
|
||||
if(ptr[0] == '\0') break;
|
||||
switch(cmd_def->args[i].type) {
|
||||
case MP_CMD_ARG_INT:
|
||||
@ -960,7 +960,7 @@ mp_input_parse_config(char *file) {
|
||||
cmd_binds = binds;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
iter = buffer;
|
||||
|
||||
if(comments) {
|
||||
|
Loading…
Reference in New Issue
Block a user