aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/drawline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c
index abc27c1eda..ad08fd0e10 100644
--- a/src/nvim/drawline.c
+++ b/src/nvim/drawline.c
@@ -1799,6 +1799,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool nochange,
area_attr = 0;
extmark_attr = 0;
virt_inline_i++;
+ n_skip = 0;
// If the text didn't reach until the first window
// column we need to skip cells.
if (skip_cells > 0) {