Commit 0390618b authored by Scott Caudle's avatar Scott Caudle

msw ShowConsole() - enable previously provided msg on console for --help file output.

parent 989a7bdb
...@@ -2447,6 +2447,9 @@ static void ShowConsole( void ) ...@@ -2447,6 +2447,9 @@ static void ShowConsole( void )
AllocConsole(); AllocConsole();
freopen( "CONOUT$", "w", stderr );
freopen( "CONIN$", "r", stdin );
if( (f_help = fopen( "vlc-help.txt", "wt" )) ) if( (f_help = fopen( "vlc-help.txt", "wt" )) )
{ {
fclose( f_help ); fclose( f_help );
...@@ -2456,9 +2459,6 @@ static void ShowConsole( void ) ...@@ -2456,9 +2459,6 @@ static void ShowConsole( void )
else freopen( "CONOUT$", "w", stdout ); else freopen( "CONOUT$", "w", stdout );
freopen( "CONOUT$", "w", stderr );
freopen( "CONIN$", "r", stdin );
# endif # endif
} }
#endif #endif
......
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