util: fix typo in decodeCrock/getValue
which didn't lead to bugs due to usage of `charCodeAt(0)`
This commit is contained in:
parent
49baf33f74
commit
8ae4ad9342
@ -123,7 +123,7 @@ function getValue(chr: string): number {
|
||||
switch (chr) {
|
||||
case "O":
|
||||
case "o":
|
||||
a = "0;";
|
||||
a = "0";
|
||||
break;
|
||||
case "i":
|
||||
case "I":
|
||||
|
Loading…
Reference in New Issue
Block a user