aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/winfloat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/winfloat.c')
-rw-r--r--src/nvim/winfloat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/winfloat.c b/src/nvim/winfloat.c
index 8fe0315230..cddc4ed9dd 100644
--- a/src/nvim/winfloat.c
+++ b/src/nvim/winfloat.c
@@ -57,7 +57,7 @@ win_T *win_new_float(win_T *wp, bool last, WinConfig fconfig, Error *err)
return NULL;
}
int dir;
- winframe_remove(wp, &dir, NULL);
+ winframe_remove(wp, &dir, NULL, NULL);
XFREE_CLEAR(wp->w_frame);
win_comp_pos(); // recompute window positions
win_remove(wp, NULL);