diff options
author | wm4 <wm4@nowhere> | 2012-08-19 17:32:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-20 15:36:05 +0200 |
commit | 6386b11324cb2c0cb150123038192e3b3859f229 (patch) | |
tree | d5742c7729ff1c78779281b25e54994f963e6b07 /mplayer.c | |
parent | 988dad5fc7f13d7be266b139ddf29a8c8c9a3d02 (diff) | |
download | mpv-6386b11324cb2c0cb150123038192e3b3859f229.tar.bz2 mpv-6386b11324cb2c0cb150123038192e3b3859f229.tar.xz |
mplayer: fix command line arguments log output
In commit 94782e464d985b6e65, code was added to remove the first
command line argument. (Because that is essentially useless.) The code
for printing with command line on -v still assumed the first argument
should be skipped.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3951,7 +3951,7 @@ int main(int argc, char *argv[]) mp_msg(MSGT_CPLAYER, MSGL_V, "Configuration: " CONFIGURATION "\n"); mp_tmsg(MSGT_CPLAYER, MSGL_V, "Command line:"); - for (int i = 1; i < argc; i++) + for (int i = 0; i < argc; i++) mp_msg(MSGT_CPLAYER, MSGL_V, " '%s'", argv[i]); mp_msg(MSGT_CPLAYER, MSGL_V, "\n"); |