aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-02-22 16:08:24 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-03-22 23:18:40 +0100
commit243820ebd0d9df7664311c8bf79d879bf23eb742 (patch)
tree73bd78832f061f3e091ccb1468b8110c91f23835 /src/nvim/option.c
parente5cfc7f3a0257682410cbb6bb433688bccdfd54f (diff)
downloadrneovim-243820ebd0d9df7664311c8bf79d879bf23eb742.tar.gz
rneovim-243820ebd0d9df7664311c8bf79d879bf23eb742.tar.bz2
rneovim-243820ebd0d9df7664311c8bf79d879bf23eb742.zip
floats: add borders (MS-DOS MODE)
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index dbd8ceb55c..d04329e104 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -4287,7 +4287,7 @@ static char *set_num_option(int opt_idx, char_u *varp, long value,
// 'floatblend'
curwin->w_p_winbl = MAX(MIN(curwin->w_p_winbl, 100), 0);
curwin->w_hl_needs_update = true;
- curwin->w_grid.blending = curwin->w_p_winbl > 0;
+ curwin->w_grid_alloc.blending = curwin->w_p_winbl > 0;
}
@@ -5800,7 +5800,7 @@ void didset_window_options(win_T *wp)
set_chars_option(wp, &wp->w_p_fcs, true);
set_chars_option(wp, &wp->w_p_lcs, true);
parse_winhl_opt(wp); // sets w_hl_needs_update also for w_p_winbl
- wp->w_grid.blending = wp->w_p_winbl > 0;
+ wp->w_grid_alloc.blending = wp->w_p_winbl > 0;
}