mirror of
https://github.com/tmux/tmux.git
synced 2025-12-19 00:02:06 -05:00
Merge branch 'obsd-master'
This commit is contained in:
commit
208d9449b7
2
utf8.c
2
utf8.c
@ -129,7 +129,7 @@ utf8_from_data(const struct utf8_data *ud, utf8_char *uc)
|
|||||||
u_int index;
|
u_int index;
|
||||||
|
|
||||||
if (ud->width > 2)
|
if (ud->width > 2)
|
||||||
fatalx("invalid UTF-8 width");
|
fatalx("invalid UTF-8 width: %u", ud->width);
|
||||||
|
|
||||||
if (ud->size > UTF8_SIZE)
|
if (ud->size > UTF8_SIZE)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user