X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funigbrk%2Fu16-grapheme-next.c;h=dc05b1ed399476be6d37bb293a84615a75135d0d;hb=8866a241ddbf4a459347b7147e325f539e4c07fe;hp=8ca3a939fdb9736d4ba4f66f342b83ae41b5ee38;hpb=d60f3b0c6b0f93a601acd1cfd3923f94ca05abb0;p=gnulib.git diff --git a/lib/unigbrk/u16-grapheme-next.c b/lib/unigbrk/u16-grapheme-next.c index 8ca3a939f..dc05b1ed3 100644 --- a/lib/unigbrk/u16-grapheme-next.c +++ b/lib/unigbrk/u16-grapheme-next.c @@ -1,5 +1,5 @@ /* Next grapheme cluster function. - Copyright (C) 2010-2011 Free Software Foundation, Inc. + Copyright (C) 2010-2013 Free Software Foundation, Inc. Written by Ben Pfaff , 2010. This program is free software: you can redistribute it and/or modify it @@ -36,7 +36,7 @@ u16_grapheme_next (const uint16_t *s, const uint16_t *end) ucs4_t next; mblen = u16_mbtouc (&next, s, end - s); - if (uc_is_grapheme_cluster_break (prev, next)) + if (uc_is_grapheme_break (prev, next)) break; prev = next;