diff options
author | Martin Tournoij <martin@arp242.net> | 2022-10-04 16:28:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-04 16:28:45 +0100 |
commit | 7904fa420eb577274c4c3711295240100167d495 (patch) | |
tree | a38ab30cb4c947c2ebba45cd7ed711ffd2e719a7 /src/textformat.c | |
parent | 4ba5f1dab656103e8f4a4505452d1816b9e83c1e (diff) | |
download | vim-git-7904fa420eb577274c4c3711295240100167d495.tar.gz |
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/textformat.c')
-rw-r--r-- | src/textformat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/textformat.c b/src/textformat.c index dfbeed70d..6a93890bd 100644 --- a/src/textformat.c +++ b/src/textformat.c @@ -794,10 +794,8 @@ comp_textwidth( // The width is the window width minus 'wrapmargin' minus all the // things that add to the margin. textwidth = curwin->w_width - curbuf->b_p_wm; -#ifdef FEAT_CMDWIN if (cmdwin_type != 0) textwidth -= 1; -#endif #ifdef FEAT_FOLDING textwidth -= curwin->w_p_fdc; #endif |