patch 9.0.0747: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330)
diff --git a/src/window.c b/src/window.c
index 8486f1a..51416af 100644
--- a/src/window.c
+++ b/src/window.c
@@ -604,9 +604,8 @@
LANGMAP_ADJUST(xchar, TRUE);
--no_mapping;
--allow_keys;
-#ifdef FEAT_CMDL_INFO
(void)add_to_showcmd(xchar);
-#endif
+
switch (xchar)
{
#if defined(FEAT_QUICKFIX)
@@ -6285,7 +6284,7 @@
if (fr == NULL)
// This can happen when calling win_move_separator() on the rightmost
// window. Just don't do anything.
- return;
+ return;
// grow frame fr by offset lines
frame_new_width(fr, fr->fr_width + offset, left, FALSE);