chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
word break now comes from the table
[disorder]
/
lib
/
unicode.c
diff --git
a/lib/unicode.c
b/lib/unicode.c
index 706c5876d2ff34da7a17ae416e967a97d3142730..b89c6c594a4f5383b53ceeaea9f7b4954b97db0f 100644
(file)
--- a/
lib/unicode.c
+++ b/
lib/unicode.c
@@
-646,10
+646,7
@@
static uint32_t utf32__hangul_syllable_type(uint32_t c) {
* @return Word_Break property value of @p c
*/
static enum unicode_Word_Break utf32__word_break(uint32_t c) {
* @return Word_Break property value of @p c
*/
static enum unicode_Word_Break utf32__word_break(uint32_t c) {
- if(c < 0xAC00 || c > 0xD7A3)
- return utf32__unidata(c)->word_break;
- else
- return unicode_Word_Break_ALetter;
+ return utf32__unidata(c)->word_break;
}
/** @brief Identify a grapheme cluster boundary
}
/** @brief Identify a grapheme cluster boundary