When converting A-Z into a control character, want to subtract 64 not

65... whoops.
pull/1/head
Nicholas Marriott 2010-04-23 14:27:04 +00:00
parent 261b6b8615
commit 6769115df2
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ key_string_lookup_string(const char *string)
if (key >= 97 && key <= 122)
key -= 96;
else if (key >= 65 && key <= 90)
key -= 65;
key -= 64;
else if (key == 32)
key = 0;
else if (key == 63)