change max depth (#84)

This commit is contained in:
Miwa / Ensan
2024-04-29 17:09:52 +09:00
committed by GitHub
parent ecfb23c780
commit f17958af47

View File

@ -429,7 +429,9 @@ public final class DicdataStore {
let first = String(key.first!)
let charIDs = key.map(self.character2charId)
// 1, 2depth
let depth = if count == 1 || count == 2 {
let depth = if count == 1 {
3
} else if count == 2 {
5
} else {
Int.max