Mercurial > mplayer.hg
diff parser-mecmd.c @ 15245:4fdfe0860cc5
Make "mplayer -- --a" play the file --a instead of bailing out with a useless
error message
author | reimar |
---|---|
date | Sat, 23 Apr 2005 20:41:19 +0000 |
parents | bef9d6dc2333 |
children | 55cbf0c204bc |
line wrap: on
line diff
--- a/parser-mecmd.c Fri Apr 22 23:57:43 2005 +0000 +++ b/parser-mecmd.c Sat Apr 23 20:41:19 2005 +0000 @@ -67,7 +67,7 @@ //next: opt = argv[i]; /* check for -- (no more options id.) except --help! */ - if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) != 'h')) + if ((*opt == '-') && (*(opt+1) == '-') && (*(opt+2) == 0)) { no_more_opts = 1; if (i+1 >= argc)