diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-04 22:40:56 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-04 22:40:56 +0100 |
commit | 75008661821eee6989476908feaf64a9dea03e05 (patch) | |
tree | 8305766a531acf1012ff66d3efc618bb9a63b2a1 /src/drawline.c | |
parent | 18b3500b8c517e44c23197e558aa36aed1c6916c (diff) |
patch 9.0.0662: concealed characters do not work correctlyv9.0.0662
Problem: Concealed characters do not work correctly.
Solution: Subtract boguscols instead of adding them. (closes #11273)
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drawline.c b/src/drawline.c index 3e796d23e2..018a6d8c5f 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -3689,9 +3689,9 @@ win_line( ) { #ifdef FEAT_CONCEAL - wlv.col += wlv.boguscols; - wlv_screen_line(wp, &wlv, FALSE); wlv.col -= wlv.boguscols; + wlv_screen_line(wp, &wlv, FALSE); + wlv.col += wlv.boguscols; wlv.boguscols = 0; #else wlv_screen_line(wp, &wlv, FALSE); |