projects
/
utf8proc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0f0899
)
Fix incorrect use of `lbc` instead of `lbc_override` (#77)
author
Keno Fischer
<kfischer+github@college.harvard.edu>
Wed, 13 Jul 2016 16:33:50 +0000
(12:33 -0400)
committer
Steven G. Johnson
<stevenj@mit.edu>
Wed, 13 Jul 2016 16:33:50 +0000
(12:33 -0400)
utf8proc.c
patch
|
blob
|
history
diff --git
a/utf8proc.c
b/utf8proc.c
index b479750d5a3b2baf9edd40973a3c419285bfa6eb..ba5143a22290bc9ce5b93c3f70d782fb44f84073 100644
(file)
--- a/
utf8proc.c
+++ b/
utf8proc.c
@@
-287,7
+287,7
@@
static utf8proc_bool grapheme_break_extended(int lbc, int tbc, utf8proc_int32_t
int lbc_override = lbc;
if (state && *state != UTF8PROC_BOUNDCLASS_START)
lbc_override = *state;
- utf8proc_bool break_permitted = grapheme_break_simple(lbc, tbc);
+ utf8proc_bool break_permitted = grapheme_break_simple(lbc
_override
, tbc);
if (state) {
// Special support for GB 12/13 made possible by GB999. After two RI
// class codepoints we want to force a break. Do this by resetting the