summaryrefslogtreecommitdiffstats
path: root/src/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 9600e0a682..f5687df612 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -445,13 +445,11 @@ term_start(
if (check_restricted() || check_secure())
return NULL;
-#ifdef FEAT_CMDWIN
if (cmdwin_type != 0)
{
emsg(_(e_cannot_open_terminal_from_command_line_window));
return NULL;
}
-#endif
if ((opt->jo_set & (JO_IN_IO + JO_OUT_IO + JO_ERR_IO))
== (JO_IN_IO + JO_OUT_IO + JO_ERR_IO)