diff options
author | nicm <nicm> | 2020-06-09 10:37:00 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-06-09 10:37:00 +0000 |
commit | fee585ea1429672922e65a4d3b95a5407143c737 (patch) | |
tree | 7c71927ee6e04d018fe55bc70523fcb0eaf392f7 /utf8.c | |
parent | c60389acbfbacade1e2822ef9099dabaca0ad08e (diff) | |
download | rtmux-fee585ea1429672922e65a4d3b95a5407143c737.tar.gz rtmux-fee585ea1429672922e65a4d3b95a5407143c737.tar.bz2 rtmux-fee585ea1429672922e65a4d3b95a5407143c737.zip |
Include width in error message.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ utf8_from_data(const struct utf8_data *ud, utf8_char *uc) u_int index; if (ud->width > 2) - fatalx("invalid UTF-8 width"); + fatalx("invalid UTF-8 width: %u", ud->width); if (ud->size > UTF8_SIZE) goto fail; |