From 6386b11324cb2c0cb150123038192e3b3859f229 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 19 Aug 2012 17:32:27 +0200 Subject: [PATCH] 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. --- mplayer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");