Changeset 446bfcd5f40d640097b4e765ae234c47b9831d12

Show
Ignore:
Timestamp:
06/05/08 19:10:04 (3 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212685804 +0300
git-parent:

[b11eefc487ea5da71db21a775b3de3e0214d7188]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1212685804 +0300
Message:

Do not use print colored help if stdout is not a TTY

Files:

Legend:

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

    r031c602 r446bfcd  
    13291329    memset( psz_spaces_longtext, ' ', LINE_START+2 ); 
    13301330    psz_spaces_longtext[LINE_START+2] = '\0'; 
    1331 #ifdef WIN32 
    1332     b_color = false; // don't put color control codes in a .txt file 
    1333 #endif 
     1331#ifndef WIN32 
     1332    if( !isatty( 1 ) ) 
     1333#endif 
     1334        b_color = false; // don't put color control codes in a .txt file 
    13341335 
    13351336    if( b_color )