aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ui_compositor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui_compositor.c b/src/nvim/ui_compositor.c
index 59e9f71a69..e9b23d1298 100644
--- a/src/nvim/ui_compositor.c
+++ b/src/nvim/ui_compositor.c
@@ -402,7 +402,7 @@ static void compose_line(Integer row, Integer startcol, Integer endcol, LineFlag
if (col == endcol - 1) {
skipend = 0;
}
- } else if (n > 1 && linebuf[col - startcol + 1][0] == NUL) {
+ } else if (col == startcol && n > 1 && linebuf[1][0] == NUL) {
skipstart = 0;
}