diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-30 21:33:46 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-30 21:33:46 +0100 |
commit | 711483cd1381a4ed848d783ae0a6792d5b04447b (patch) | |
tree | 24363d38e2e5767c9594c7396c005d4e1ec31c95 /src/drawline.c | |
parent | 6747cf1671bd41cddee77c65b3f9a70509f968db (diff) |
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes"v9.0.0116
Problem: Virtual text not displayed if 'signcolumn' is "yes".
Solution: Set c_extra and c_final to NUL.
Diffstat (limited to 'src/drawline.c')
-rw-r--r-- | src/drawline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drawline.c b/src/drawline.c index 7b164578c3..be9ed9d362 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1524,6 +1524,8 @@ win_line( if (p != NULL) { p_extra = p; + c_extra = NUL; + c_final = NUL; n_extra = (int)STRLEN(p); extra_attr = used_attr; n_attr = n_extra; |