aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-10-12 23:00:43 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-10-12 23:00:43 +0200
commit73c3ca3633dc0f94f6f7d7e3dab1f2d9fa7bb449 (patch)
treebfec27a0d86cc7d40ed952cff9d8ec9ca7bdfeb1
parent559232ccb527ceeff302ced0d2bb25bc4e79996c (diff)
downloadxK-73c3ca3633dc0f94f6f7d7e3dab1f2d9fa7bb449.tar.gz
xK-73c3ca3633dc0f94f6f7d7e3dab1f2d9fa7bb449.tar.xz
xK-73c3ca3633dc0f94f6f7d7e3dab1f2d9fa7bb449.zip
Bump liberty
-rw-r--r--degesch.c4
m---------liberty0
2 files changed, 2 insertions, 2 deletions
diff --git a/degesch.c b/degesch.c
index d4c84c1..76721e5 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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++)
{
diff --git a/liberty b/liberty
-Subproject 9b723049635329feda63fab675df794e429aa15
+Subproject 9d14562f7e81441b244dc9b2e69004ad285a5ff