diff options
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index 137b888654..c1ff24c73e 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -2043,7 +2043,9 @@ win_line( p_extra_free2 = wlv.p_extra; } - if (lcs_eol_one < 0 && wlv.col + if (lcs_eol_one < 0 + && wp->w_p_wrap + && wlv.col + wlv.n_extra - 2 > wp->w_width) // don't bail out at end of line text_prop_follows = TRUE; |