Fix character lengths calculation for moedict entries

This commit is contained in:
Marvin Elsen 2024-10-09 23:13:48 +02:00
parent 7d52fde387
commit 90b86df4b4
Signed by: marvinelsen
GPG Key ID: 820672408CC318C2

View File

@ -337,7 +337,7 @@ private fun createMoedictEntries(connection: Connection) {
heteronym.definitions
)
)
insertStatement.setInt(11, entry.title.length)
insertStatement.setInt(11, traditional.length)
} catch (_: Exception) {
// no-op
}