summaryrefslogtreecommitdiff
path: root/src/drawline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c2
1 files changed, 2 insertions, 0 deletions
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;