X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Funigbrk%2Fu8-grapheme-prev.c;h=d89e1818da10e77b6857a4553078f4b390803862;hb=f16415c07025fdec551dfc1dc7275c2a88819d44;hp=ebbdce4337775bec6a87a8571d27853f137f1fad;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/unigbrk/u8-grapheme-prev.c b/lib/unigbrk/u8-grapheme-prev.c index ebbdce433..d89e1818d 100644 --- a/lib/unigbrk/u8-grapheme-prev.c +++ b/lib/unigbrk/u8-grapheme-prev.c @@ -26,7 +26,6 @@ const uint8_t * u8_grapheme_prev (const uint8_t *s, const uint8_t *start) { ucs4_t next; - int mblen; if (s == start) return NULL; @@ -44,7 +43,7 @@ u8_grapheme_prev (const uint8_t *s, const uint8_t *start) return start; } - if (uc_is_grapheme_cluster_break (prev, next)) + if (uc_is_grapheme_break (prev, next)) break; s = prev_s;