Commit 5c7b2b5b 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
(cherry picked from commit f1433011c2cae9e25cfcb56d64cc92b2f523df4e)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 5d6caeb0
......@@ -87,7 +87,9 @@ int intf_Create( vlc_object_t *p_this, const char *psz_module )
VLC_VAR_HASCHOICE | VLC_VAR_ISCOMMAND );
text.psz_string = _("Add Interface");
var_Change( p_intf, "intf-add", VLC_VAR_SETTEXT, &text, NULL );
#if !defined(WIN32) && defined(HAVE_ISATTY)
if( isatty( 0 ) )
#endif
{
val.psz_string = (char *)"rc";
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