summaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-09 21:53:58 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-09 21:53:58 +0100
commitf167c7b42476f8ab5b32c3c5ccbdca914316e96b (patch)
tree30120a4fd000882fbfdc8dc37ef32f63246c61b3 /src/charset.c
parent15b314ffbb93f934b72cb71aa8f881caea026256 (diff)
patch 9.0.0709: virtual text "after" not correct with 'nowrap'v9.0.0709
Problem: Virtual text "after" not correct with 'nowrap'. Solution: Do not display "after" text prop on the next line when 'wrap' is off.
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index 9ddb21d967..d03f2616cd 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -1178,7 +1178,7 @@ win_lbr_chartabsize(
{
int n_extra = (int)STRLEN(p);
- cells = text_prop_position(wp, tp,
+ cells = text_prop_position(wp, tp, vcol,
(vcol + size) % (wp->w_width - col_off) + col_off,
&n_extra, &p, NULL, NULL);
#ifdef FEAT_LINEBREAK