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) {
|
switch (chr) {
|
||||||
case "O":
|
case "O":
|
||||||
case "o":
|
case "o":
|
||||||
a = "0;";
|
a = "0";
|
||||||
break;
|
break;
|
||||||
case "i":
|
case "i":
|
||||||
case "I":
|
case "I":
|
||||||
|
Loading…
Reference in New Issue
Block a user