chiark / gitweb /
word break now comes from the table
[disorder] / lib / unicode.c
index 706c5876d2ff34da7a17ae416e967a97d3142730..b89c6c594a4f5383b53ceeaea9f7b4954b97db0f 100644 (file)
@@ -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) {
-  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