summaryrefslogtreecommitdiff
path: root/lib/unigbrk/u8-grapheme-next.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unigbrk/u8-grapheme-next.c')
-rw-r--r--lib/unigbrk/u8-grapheme-next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unigbrk/u8-grapheme-next.c b/lib/unigbrk/u8-grapheme-next.c
index 123af518cd..068f174b10 100644
--- a/lib/unigbrk/u8-grapheme-next.c
+++ b/lib/unigbrk/u8-grapheme-next.c
@@ -36,7 +36,7 @@ u8_grapheme_next (const uint8_t *s, const uint8_t *end)
ucs4_t next;
mblen = u8_mbtouc (&next, s, end - s);
- if (uc_is_grapheme_cluster_break (prev, next))
+ if (uc_is_grapheme_break (prev, next))
break;
prev = next;