summaryrefslogtreecommitdiff
path: root/src/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utf8.c')
-rw-r--r--src/utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utf8.c b/src/utf8.c
index e144c72..b343175 100644
--- a/src/utf8.c
+++ b/src/utf8.c
@@ -60,7 +60,7 @@ void utf8proc_detab(strbuf *ob, const uint8_t *line, size_t size)
while (i < size) {
size_t org = i;
- while (i < size && line[i] != '\t' && line[i] <= 0x80) {
+ while (i < size && line[i] != '\t' && line[i] < 0x80) {
i++; tab++;
}