]> git.sesse.net Git - vlc/commitdiff
*** empty log message ***
authorJohan Bilien <jobi@videolan.org>
Mon, 22 Oct 2001 00:43:23 +0000 (00:43 +0000)
committerJohan Bilien <jobi@videolan.org>
Mon, 22 Oct 2001 00:43:23 +0000 (00:43 +0000)
src/interface/main.c

index e447aad3d8943675a9eb416e0da3cd1039079428..6dfdc704eca54c435232d235d03998e0c5bca9ca 100644 (file)
@@ -4,7 +4,7 @@
  * and spawn threads.
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: main.c,v 1.118 2001/10/13 15:34:21 stef Exp $
+ * $Id: main.c,v 1.119 2001/10/22 00:43:23 jobi Exp $
  *
  * Authors: Vincent Seguin <seguin@via.ecp.fr>
  *          Samuel Hocevar <sam@zoy.org>
@@ -798,7 +798,7 @@ static int GetConfiguration( int *pi_argc, char *ppsz_argv[], char *ppsz_env[] )
             ShowConsole();
             RedirectSTDOUT();
             intf_ErrMsg( "intf error: unknown option `%s'",
-                         ppsz_argv[optind - 1] );
+                         ppsz_argv[optind] );
             Usage( USAGE );
 #ifdef WIN32        /* Pause the console because it's destroyed when we exit */
             if( strcmp( "", main_GetPszVariable( INTF_STDOUT_VAR,