summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index 8486f1a5e..51416af53 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);