Changeset 4bfb6dac85dfaedefe5b79ff6cf822918cc96b5e
- 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
| r8e45960 |
r4bfb6da |
|
| 113 | 113 | |
|---|
| 114 | 114 | #ifdef WIN32 |
|---|
| 115 | | static void ShowConsole ( void ); |
|---|
| | 115 | static void ShowConsole ( vlc_bool_t ); |
|---|
| 116 | 116 | static void PauseConsole ( void ); |
|---|
| 117 | 117 | #endif |
|---|
| … | … | |
| 588 | 588 | { |
|---|
| 589 | 589 | #ifdef WIN32 |
|---|
| 590 | | ShowConsole(); |
|---|
| | 590 | ShowConsole( VLC_FALSE ); |
|---|
| 591 | 591 | /* Pause the console because it's destroyed when we exit */ |
|---|
| 592 | 592 | fprintf( stderr, "The command line options couldn't be loaded, check " |
|---|
| … | … | |
| 2120 | 2120 | { |
|---|
| 2121 | 2121 | #ifdef WIN32 |
|---|
| 2122 | | ShowConsole(); |
|---|
| | 2122 | ShowConsole( VLC_TRUE ); |
|---|
| 2123 | 2123 | #endif |
|---|
| 2124 | 2124 | |
|---|
| … | … | |
| 2443 | 2443 | |
|---|
| 2444 | 2444 | #ifdef WIN32 |
|---|
| 2445 | | ShowConsole(); |
|---|
| | 2445 | ShowConsole( VLC_TRUE ); |
|---|
| 2446 | 2446 | #endif |
|---|
| 2447 | 2447 | |
|---|
| … | … | |
| 2483 | 2483 | { |
|---|
| 2484 | 2484 | #ifdef WIN32 |
|---|
| 2485 | | ShowConsole(); |
|---|
| | 2485 | ShowConsole( VLC_TRUE ); |
|---|
| 2486 | 2486 | #endif |
|---|
| 2487 | 2487 | |
|---|
| … | … | |
| 2506 | 2506 | *****************************************************************************/ |
|---|
| 2507 | 2507 | #ifdef WIN32 /* */ |
|---|
| 2508 | | static void ShowConsole( void ) |
|---|
| | 2508 | static void ShowConsole( vlc_bool_t b_dofile ) |
|---|
| 2509 | 2509 | { |
|---|
| 2510 | 2510 | # ifndef UNDER_CE |
|---|
| … | … | |
| 2518 | 2518 | freopen( "CONIN$", "r", stdin ); |
|---|
| 2519 | 2519 | |
|---|
| 2520 | | if( (f_help = fopen( "vlc-help.txt", "wt" )) ) |
|---|
| | 2520 | if( b_dofile && (f_help = fopen( "vlc-help.txt", "wt" )) ) |
|---|
| 2521 | 2521 | { |
|---|
| 2522 | 2522 | fclose( f_help ); |
|---|