Commit eac3662b authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed inheriting command-line options from parent process.

parent 08867f71
......@@ -330,6 +330,7 @@ void OPTIONS_ParseOptions( char *argv[] )
if (GetEnvironmentVariableA( "WINEOPTIONS", buffer, sizeof(buffer) ) && buffer[0])
inherit_options( buffer );
if (!argv) return;
parse_options( argv + 1 );
......
......@@ -316,7 +316,7 @@ static BOOL process_init( char *argv[] )
return FALSE;
/* Parse command line arguments */
if (!info) OPTIONS_ParseOptions( argv );
OPTIONS_ParseOptions( info ? argv : NULL );
app_argc = 0;
while (argv[app_argc]) app_argc++;
......
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