summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c
index 0be071876f..88d72cedd5 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -3792,9 +3792,11 @@ win_line(
}
#endif
+ if (wlv.draw_state == WL_LINE)
+ vcol_prev = wlv.vcol;
+
// Store character to be displayed.
// Skip characters that are left of the screen for 'nowrap'.
- vcol_prev = wlv.vcol;
if (wlv.draw_state < WL_LINE || n_skip <= 0)
{
// Store the character.