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) {
case "O":
case "o":
a = "0;";
a = "0";
break;
case "i":
case "I":