]> git.sesse.net Git - vlc/commitdiff
One remaining Windows txt file color control code removed, thanks to Andre Weber
authorMark Moriarty <markfm@videolan.org>
Sat, 16 Feb 2008 00:05:45 +0000 (00:05 +0000)
committerMark Moriarty <markfm@videolan.org>
Sat, 16 Feb 2008 00:05:45 +0000 (00:05 +0000)
src/libvlc-common.c

index 6ed368af2aa09f9c02546506c67d01dd5b5e4cec..4d29813a2b1443e3bc76c9398906c93ba3558c5b 100644 (file)
@@ -1696,9 +1696,15 @@ static void Usage( libvlc_int_t *p_this, char const *psz_module_name )
         }
     }
 
-    if( b_has_advanced )
-        utf8_fprintf( stdout, "\n" WHITE "%s" GRAY " %s\n", _( "Note:" ),
-        _( "add --advanced to your command line to see advanced options." ) );
+    if( b_has_advanced ) 
+    {
+        if( b_color )
+            utf8_fprintf( stdout, "\n" WHITE "%s" GRAY " %s\n", _( "Note:" ),
+           _( "add --advanced to your command line to see advanced options."));
+        else
+            utf8_fprintf( stdout, "\n %s %s\n", _( "Note:" ),
+           _( "add --advanced to your command line to see advanced options."));
+    }
 
     /* Release the module list */
     vlc_list_release( p_list );