mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-10 13:21:52 +09:00
typewriter keymap minor change
This commit is contained in:
@@ -585,9 +585,14 @@ class TerrarumTypewriterBitmap(
|
||||
val hashPrime = 1099511628211L
|
||||
var hashAccumulator = hashBasis
|
||||
|
||||
this.forEach {
|
||||
hashAccumulator = hashAccumulator xor it.toLong()
|
||||
hashAccumulator *= hashPrime
|
||||
if (this != null) {
|
||||
this.forEach {
|
||||
hashAccumulator = hashAccumulator xor it.toLong()
|
||||
hashAccumulator *= hashPrime
|
||||
}
|
||||
}
|
||||
else {
|
||||
System.err.println("CodepointSequence is null?!")
|
||||
}
|
||||
|
||||
return hashAccumulator
|
||||
|
||||
Reference in New Issue
Block a user