ADDED VERY IMPORTANT CHANGE

This commit is contained in:
Erin 2022-06-02 23:56:32 +02:00 committed by ondra05
parent a292b1abc1
commit ca8428f9ed

View file

@ -5,7 +5,7 @@ pub const fn char2num(c: char) -> isize {
'/' => 53, '/' => 53,
'\\' => 54, '\\' => 54,
'.' => 55, '.' => 55,
'U' => -210, 'U' => -210, // Backwards compatibility
'A'..='Z' => -(c as isize) + 64, 'A'..='Z' => -(c as isize) + 64,
'a'..='z' => (c as isize) - 96, 'a'..='z' => (c as isize) - 96,
_ => 0, _ => 0,