Mercurial > vim
diff src/option.c @ 30645:101f08b49ed3 v9.0.0657
patch 9.0.0657: too many #ifdefs
Commit: https://github.com/vim/vim/commit/7904fa420eb577274c4c3711295240100167d495
Author: Martin Tournoij <martin@arp242.net>
Date: Tue Oct 4 16:28:45 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Oct 2022 17:30:06 +0200 |
parents | c2031ad5ed54 |
children | 57ebc2a4d2ca |
line wrap: on
line diff
--- 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;