diff options
author | Martin Tournoij <martin@arp242.net> | 2022-10-13 22:12:15 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-13 22:12:15 +0100 |
commit | ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e (patch) | |
tree | 46d248575c130e6c338dc0aac5f66eabe2c2fef4 /src/window.c | |
parent | 856c5d2bc7c3864f8b63a0ab3e376d5c5e51f1d5 (diff) |
patch 9.0.0747: too many #ifdefsv9.0.0747
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330)
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c index 8486f1a5e9..51416af53f 100644 --- a/src/window.c +++ b/src/window.c @@ -604,9 +604,8 @@ wingotofile: 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 @@ win_drag_vsep_line(win_T *dragwin, int offset) 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); |