Mercurial > mplayer.hg
changeset 13932:f845791e2823
fix: when doing -loop 0 -shuffle, the arg after shuffle was skipped
author | reimar |
---|---|
date | Sun, 14 Nov 2004 11:09:56 +0000 |
parents | b972b2d9abd3 |
children | 75b84965d137 |
files | parser-mpcmd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/parser-mpcmd.c Sun Nov 14 00:42:54 2004 +0000 +++ b/parser-mpcmd.c Sun Nov 14 11:09:56 2004 +0000 @@ -60,7 +60,6 @@ m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv) { int i,j,start_title=-1,end_title=-1; - int tmp = 0; char *opt,*splitpos=NULL; char entbuf[10]; int no_more_opts = 0; @@ -130,6 +129,7 @@ if ((no_more_opts == 0) && (*opt == '-') && (*(opt+1) != 0)) /* option */ { + int tmp = 0; /* remove trailing '-' */ opt++;