mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Fix hex digit
This commit is contained in:
parent
c2a0a7d986
commit
f7b7d48766
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ int PS_ReadNumber(script_t *script, token_t *token)
|
|||
//hexadecimal
|
||||
while((c >= '0' && c <= '9') ||
|
||||
(c >= 'a' && c <= 'f') ||
|
||||
(c >= 'A' && c <= 'A'))
|
||||
(c >= 'A' && c <= 'F'))
|
||||
{
|
||||
token->string[len++] = *script->script_p++;
|
||||
if (len >= MAX_TOKEN)
|
||||
|
|
Loading…
Reference in a new issue