aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--booki.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/booki.c b/booki.c
index d076720..8d81d14 100644
--- a/booki.c
+++ b/booki.c
@@ -256,6 +256,13 @@ bool comparable(const char* pattern, const char* candidate, int len) {
return false;
}
}
+ // combining diacritics
+ else if (c >= 0xCC && c <= 0xCD) {
+ // these exist afterwards, so skip this one and the following
+ candidate += 2;
+ c = *candidate;
+ continue;
+ }
else {
// don't know how to compare these
return false;