summaryrefslogtreecommitdiffstats
path: root/src/option.c
diff options
context:
space:
mode:
authorMartin Tournoij <martin@arp242.net>2022-10-04 16:28:45 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-04 16:28:45 +0100
commit7904fa420eb577274c4c3711295240100167d495 (patch)
treea38ab30cb4c947c2ebba45cd7ed711ffd2e719a7 /src/option.c
parent4ba5f1dab656103e8f4a4505452d1816b9e83c1e (diff)
patch 9.0.0657: too many #ifdefsv9.0.0657
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)
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/option.c b/src/option.c
index 646265d3bd..7d6b9547f6 100644
--- a/src/option.c
+++ b/src/option.c
@@ -2404,10 +2404,8 @@ didset_options(void)
(void)compile_cap_prog(curwin->w_s);
(void)did_set_spell_option(TRUE);
#endif
-#ifdef FEAT_CMDWIN
// set cedit_key
(void)check_cedit();
-#endif
#ifdef FEAT_LINEBREAK
// initialize the table for 'breakat'.
fill_breakat_flags();
@@ -3804,13 +3802,11 @@ set_num_option(
errmsg = e_argument_must_be_positive;
p_siso = 0;
}
-#ifdef FEAT_CMDWIN
if (p_cwh < 1)
{
errmsg = e_argument_must_be_positive;
p_cwh = 1;
}
-#endif
if (p_ut < 0)
{
errmsg = e_argument_must_be_positive;