Changeset 4bfb6dac85dfaedefe5b79ff6cf822918cc96b5e

Show
Ignore:
Timestamp:
11/02/06 17:10:43 (3 years ago)
Author:
Clément Stenac <zorglub@videolan.org>
git-committer:
Clément Stenac <zorglub@videolan.org> 1139674243 +0000
git-parent:

[b26eed49510e53c2d3afe9e6e517aaae0a079f23]

git-author:
Clément Stenac <zorglub@videolan.org> 1139674243 +0000
Message:

Should fix vlc-help.txt problem (untested) (Refs:#517)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/libvlc.c

    r8e45960 r4bfb6da  
    113113 
    114114#ifdef WIN32 
    115 static void ShowConsole   ( void ); 
     115static void ShowConsole   ( vlc_bool_t ); 
    116116static void PauseConsole  ( void ); 
    117117#endif 
     
    588588    { 
    589589#ifdef WIN32 
    590         ShowConsole(); 
     590        ShowConsole( VLC_FALSE ); 
    591591        /* Pause the console because it's destroyed when we exit */ 
    592592        fprintf( stderr, "The command line options couldn't be loaded, check " 
     
    21202120{ 
    21212121#ifdef WIN32 
    2122     ShowConsole(); 
     2122    ShowConsole( VLC_TRUE ); 
    21232123#endif 
    21242124 
     
    24432443 
    24442444#ifdef WIN32 
    2445     ShowConsole(); 
     2445    ShowConsole( VLC_TRUE ); 
    24462446#endif 
    24472447 
     
    24832483{ 
    24842484#ifdef WIN32 
    2485     ShowConsole(); 
     2485    ShowConsole( VLC_TRUE ); 
    24862486#endif 
    24872487 
     
    25062506 *****************************************************************************/ 
    25072507#ifdef WIN32 /*  */ 
    2508 static void ShowConsole( void
     2508static void ShowConsole( vlc_bool_t b_dofile
    25092509{ 
    25102510#   ifndef UNDER_CE 
     
    25182518    freopen( "CONIN$", "r", stdin ); 
    25192519 
    2520     if( (f_help = fopen( "vlc-help.txt", "wt" )) ) 
     2520    if( b_dofile && (f_help = fopen( "vlc-help.txt", "wt" )) ) 
    25212521    { 
    25222522        fclose( f_help );