Improve CD key prevalidation (#880)
* Improve CD key prevalidation * Use tolower instead of ascii math
This commit is contained in:
1 parent
5d810e50d2
commit
b75bee1064
2 files changed
+15
-18
No files matched your search
@@ -96,7 +96,7 @@ static int UI_CDKeyMenu_PreValidateKey( const char *key ) {
|
||||
}
|
||||
|
||||
while( ( ch = *key++ ) ) {
|
||||
switch( ch ) {
|
||||
switch(tolower(ch)) {
|
||||
case '2':
|
||||
case '3':
|
||||
case '7':
|
||||
|
||||
Reference in new issue
Block a user