Commit f1433011 authored by Pierre Ynard's avatar Pierre Ynard

intf-add: list CLI on win32 regardless of stdin

Win32 spawns its own console so this is irrelevant
parent 4ac1ee6c
...@@ -85,7 +85,9 @@ int intf_Create( vlc_object_t *p_this, const char *chain ) ...@@ -85,7 +85,9 @@ int intf_Create( vlc_object_t *p_this, const char *chain )
VLC_VAR_HASCHOICE | VLC_VAR_ISCOMMAND ); VLC_VAR_HASCHOICE | VLC_VAR_ISCOMMAND );
text.psz_string = _("Add Interface"); text.psz_string = _("Add Interface");
var_Change( p_intf, "intf-add", VLC_VAR_SETTEXT, &text, NULL ); var_Change( p_intf, "intf-add", VLC_VAR_SETTEXT, &text, NULL );
#if !defined(WIN32) && defined(HAVE_ISATTY)
if( isatty( 0 ) ) if( isatty( 0 ) )
#endif
{ {
val.psz_string = (char *)"rc"; val.psz_string = (char *)"rc";
text.psz_string = (char *)_("Console"); text.psz_string = (char *)_("Console");
......
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