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)
diff --git a/src/drawline.c b/src/drawline.c
index d36eee7..3e796d2 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -156,11 +156,7 @@
// draw_state values for items that are drawn in sequence:
#define WL_START 0 // nothing done yet, must be zero
-#ifdef FEAT_CMDWIN
-# define WL_CMDLINE (WL_START + 1) // cmdline window column
-#else
-# define WL_CMDLINE WL_START
-#endif
+#define WL_CMDLINE (WL_START + 1) // cmdline window column
#ifdef FEAT_FOLDING
# define WL_FOLD (WL_CMDLINE + 1) // 'foldcolumn'
#else
@@ -1678,7 +1674,6 @@
line_attr = line_attr_save;
}
#endif
-#ifdef FEAT_CMDWIN
if (wlv.draw_state == WL_CMDLINE - 1 && wlv.n_extra == 0)
{
wlv.draw_state = WL_CMDLINE;
@@ -1692,7 +1687,6 @@
hl_combine_attr(wlv.wcr_attr, HL_ATTR(HLF_AT));
}
}
-#endif
#ifdef FEAT_FOLDING
if (wlv.draw_state == WL_FOLD - 1 && wlv.n_extra == 0)
{