comparison src/move.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 604d7d7aa043
children 53b826c4649f
comparison
equal deleted inserted replaced
30644:0c102a723b9a 30645:101f08b49ed3
966 */ 966 */
967 int 967 int
968 win_col_off(win_T *wp) 968 win_col_off(win_T *wp)
969 { 969 {
970 return (((wp->w_p_nu || wp->w_p_rnu) ? number_width(wp) + 1 : 0) 970 return (((wp->w_p_nu || wp->w_p_rnu) ? number_width(wp) + 1 : 0)
971 #ifdef FEAT_CMDWIN
972 + (cmdwin_type == 0 || wp != curwin ? 0 : 1) 971 + (cmdwin_type == 0 || wp != curwin ? 0 : 1)
973 #endif
974 #ifdef FEAT_FOLDING 972 #ifdef FEAT_FOLDING
975 + wp->w_p_fdc 973 + wp->w_p_fdc
976 #endif 974 #endif
977 #ifdef FEAT_SIGNS 975 #ifdef FEAT_SIGNS
978 + (signcolumn_on(wp) ? 2 : 0) 976 + (signcolumn_on(wp) ? 2 : 0)