/* Previous grapheme cluster function.
- Copyright (C) 2010 Free Software Foundation, Inc.
+ Copyright (C) 2010-2011 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
u8_grapheme_prev (const uint8_t *s, const uint8_t *start)
{
ucs4_t next;
- int mblen;
if (s == start)
return NULL;
return start;
}
- if (uc_is_grapheme_cluster_break (prev, next))
+ if (uc_is_grapheme_break (prev, next))
break;
s = prev_s;