/* Grapheme cluster breaks function.
- Copyright (C) 2010-2011 Free Software Foundation, Inc.
+ Copyright (C) 2010-2014 Free Software Foundation, Inc.
Written by Ben Pfaff <blp@cs.stanford.edu>, 2010.
This program is free software: you can redistribute it and/or modify it
for (; n > 0; s += mblen, p += mblen, n -= mblen)
{
ucs4_t next;
- int i;
mblen = u16_mbtouc (&next, s, n);
- p[0] = uc_is_grapheme_cluster_break (prev, next);
+ p[0] = uc_is_grapheme_break (prev, next);
if (mblen > 1)
p[1] = 0;