~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
untested grapheme cluster boundary detection
[disorder]
/
lib
/
words.c
diff --git
a/lib/words.c
b/lib/words.c
index
7d0d779
..
01c9db2
100644
(file)
--- a/
lib/words.c
+++ b/
lib/words.c
@@
-41,7
+41,6
@@
const char *casefold(const char *ptr) {
static enum unicode_gc_cat cat(uint32_t c) {
if(c < UNICODE_NCHARS) {
static enum unicode_gc_cat cat(uint32_t c) {
if(c < UNICODE_NCHARS) {
- /* If this a known character, convert it to lower case */
const struct unidata *const ud = &unidata[c / UNICODE_MODULUS][c % UNICODE_MODULUS];
return ud->gc;
} else
const struct unidata *const ud = &unidata[c / UNICODE_MODULUS][c % UNICODE_MODULUS];
return ud->gc;
} else