Bump liberty

This commit is contained in:
Přemysl Eric Janouch 2020-10-12 23:00:43 +02:00
parent 559232ccb5
commit 73c3ca3633
Signed by: p
GPG Key ID: A0420B94F92B9493
2 changed files with 3 additions and 3 deletions

View File

@ -7872,7 +7872,7 @@ wrap_text_for_single_line (const char *text, size_t text_len,
for (const char *p = text; (size_t) (p - text) <= line_len; )
{
eaten = p - text;
hard_assert ((p = utf8_next (p, text_len - eaten, NULL)));
hard_assert (utf8_decode (&p, text_len - eaten) >= 0);
}
str_append_data (output, text, eaten);
return eaten;
@ -12216,7 +12216,7 @@ utf8_common_prefix (const char **vector, size_t len)
size_t ch_len;
int32_t ch;
while ((ch = utf8_iter_next (&a[0], &ch_len)) != -1)
while ((ch = utf8_iter_next (&a[0], &ch_len)) >= 0)
{
for (size_t i = 1; i < len; i++)
{

@ -1 +1 @@
Subproject commit 9b723049635329feda63fab675df794e429aa151
Subproject commit 9d14562f7e81441b244dc9b2e69004ad285a5ff2