util: fix typo in decodeCrock/getValue

which didn't lead to bugs due to usage of `charCodeAt(0)`
This commit is contained in:
Mikolai Gütschow 2023-10-13 17:17:14 +02:00
parent 49baf33f74
commit 8ae4ad9342
No known key found for this signature in database
GPG Key ID: 943E2F37AA659AD5

View File

@ -123,7 +123,7 @@ function getValue(chr: string): number {
switch (chr) { switch (chr) {
case "O": case "O":
case "o": case "o":
a = "0;"; a = "0";
break; break;
case "i": case "i":
case "I": case "I":