Improve CD key prevalidation (#880)

* Improve CD key prevalidation
* Use tolower instead of ascii math
This commit is contained in:
Kacper K authored and GitHub committed 2026-07-08 21:51:08 +01:00
1 parent 5d810e50d2
commit b75bee1064
2 files changed
+15 -18

No files matched your search

+1 -1
View File
@@ -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':