vt: never call term_print() with a width <= 0

This commit is contained in:
Daniel Eklöf 2020-07-16 08:04:12 +02:00
parent 9508804b18
commit 6f2cffd8c0
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 3 additions and 3 deletions

3
vt.c
View file

@ -663,7 +663,8 @@ action_utf8_print(struct terminal *term, wchar_t wc)
}
}
term_print(term, wc, width);
if (width > 0)
term_print(term, wc, width);
}
static void