# HG changeset patch # User reimar # Date 1100430596 0 # Node ID f845791e28237dbffebdba6062be997c3dd58805 # Parent b972b2d9abd3c6822d655033b72754ca12d7cecf fix: when doing -loop 0 -shuffle, the arg after shuffle was skipped diff -r b972b2d9abd3 -r f845791e2823 parser-mpcmd.c --- 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++;