Commit 93d9a388 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

config: Clean up for the -psn cmd line argument case on Mac OS X.

parent 7c359c66
......@@ -74,12 +74,10 @@ int __config_LoadCmdLine( vlc_object_t *p_this, int *pi_argc,
/* GDMF!... I can't do this or else the MacOSX window server will
* not pick up the PSN and not register the app and we crash...
* hence the following kludge otherwise we'll get confused w/ argv[1]
* being an input file name */
#if 0
ppsz_argv[ 1 ] = NULL;
*pi_argc = *pi_argc - 1;
* being an input file name.
* As there won't be any more args to parse, just exit. */
assert( *pi_argc == 2 );
*pi_argc = 1;
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment