Skip to content

Commit 0cbdff8

Browse files
authored
Merge pull request #82 from WofWca/fix-cd-key-prevalidation
fix: make CD key UI prevalidation accept uppercase
2 parents 66c1109 + a6fc0cc commit 0cbdff8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/q3_ui/ui_cdkey.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ static int UI_CDKeyMenu_PreValidateKey( const char *key ) {
7676
}
7777

7878
while( ( ch = *key++ ) ) {
79-
switch( ch ) {
79+
switch( tolower( ch ) ) {
8080
case '2':
8181
case '3':
8282
case '7':

0 commit comments

Comments
 (0)