mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.0657: too many #ifdefs
Problem: Too many #ifdefs. Solution: Graduate the +cmdwin feature. Now the tiny and small builds are equal, drop the small build. (Martin Tournoij, closes #11268)
This commit is contained in:
committed by
Bram Moolenaar
parent
4ba5f1dab6
commit
7904fa420e
@@ -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)
|
||||
|
Reference in New Issue
Block a user