From 711483cd1381a4ed848d783ae0a6792d5b04447b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 30 Jul 2022 21:33:46 +0100 Subject: patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes" Problem: Virtual text not displayed if 'signcolumn' is "yes". Solution: Set c_extra and c_final to NUL. --- src/drawline.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/drawline.c') diff --git a/src/drawline.c b/src/drawline.c index 7b164578c..be9ed9d36 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; -- cgit v1.2.1