summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-19 17:32:27 +0200
committerwm4 <wm4@nowhere>2012-08-20 15:36:05 +0200
commit6386b11324cb2c0cb150123038192e3b3859f229 (patch)
treed5742c7729ff1c78779281b25e54994f963e6b07
parent988dad5fc7f13d7be266b139ddf29a8c8c9a3d02 (diff)
downloadmpv-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.
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index a15d9ea385..963d505637 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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");