summaryrefslogtreecommitdiffhomepage
path: root/src/utf8code.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-07 16:39:30 +0200
committerTyge Løvset <[email protected]>2022-06-07 16:39:30 +0200
commit48b3336d8f10d8097d7626732ede5896ec353407 (patch)
treee83f87925eb84fbbaefeb3fe4cee39edacf232e0 /src/utf8code.c
parentb65f70fdc80b19d869adabb5cb270807c96d152b (diff)
downloadSTC-modified-48b3336d8f10d8097d7626732ede5896ec353407.tar.gz
STC-modified-48b3336d8f10d8097d7626732ede5896ec353407.zip
Some improvements in utf8tabs.py
Diffstat (limited to 'src/utf8code.c')
-rw-r--r--src/utf8code.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf8code.c b/src/utf8code.c
index 4b55d2be..0cdcd8b6 100644
--- a/src/utf8code.c
+++ b/src/utf8code.c
@@ -105,7 +105,7 @@ int utf8_icmp_n(size_t u8max, const char* s1, const size_t n1,
do { utf8_decode(&d2, (uint8_t)s2[j2++]); } while (d2.state);
int c = utf8_tolower(d1.codep) - utf8_tolower(d2.codep);
if (c || !s2[j2])
- return c;
+ return c;
}
return (j2 < n2) - (j1 < n1);
}