mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
scan-build: fix a couple of minor warnings from a scan-build run
This commit is contained in:
parent
9abc5ca971
commit
15b12f45c6
6 changed files with 7 additions and 5 deletions
2
vt.c
2
vt.c
|
|
@ -581,7 +581,7 @@ esc_as_string(struct terminal *term, uint8_t final)
|
|||
|
||||
assert(term->vt.params.idx == 0);
|
||||
|
||||
c += snprintf(&msg[c], sizeof(msg) - c, "%c", final);
|
||||
snprintf(&msg[c], sizeof(msg) - c, "%c", final);
|
||||
return msg;
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue