mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
d'oh, forgot to add 10 for a-f and A-F
This commit is contained in:
parent
560b475880
commit
f50ce04ccb
1 changed files with 2 additions and 2 deletions
|
@ -203,9 +203,9 @@ PR_LexString (void)
|
|||
if (*pr_file_p <= 9)
|
||||
c += *pr_file_p - '0';
|
||||
else if (*pr_file_p <= 'F')
|
||||
c += *pr_file_p - 'A';
|
||||
c += *pr_file_p - 'A' + 10;
|
||||
else
|
||||
c += *pr_file_p - 'a';
|
||||
c += *pr_file_p - 'a' + 10;
|
||||
pr_file_p++;
|
||||
}
|
||||
if (!*pr_file_p)
|
||||
|
|
Loading…
Reference in a new issue