Fix hex digit
This commit is contained in:
parent
c2a0a7d986
commit
f7b7d48766
|
|
@ -643,7 +643,7 @@ int PS_ReadNumber(script_t *script, token_t *token)
|
||||||
//hexadecimal
|
//hexadecimal
|
||||||
while((c >= '0' && c <= '9') ||
|
while((c >= '0' && c <= '9') ||
|
||||||
(c >= 'a' && c <= 'f') ||
|
(c >= 'a' && c <= 'f') ||
|
||||||
(c >= 'A' && c <= 'A'))
|
(c >= 'A' && c <= 'F'))
|
||||||
{
|
{
|
||||||
token->string[len++] = *script->script_p++;
|
token->string[len++] = *script->script_p++;
|
||||||
if (len >= MAX_TOKEN)
|
if (len >= MAX_TOKEN)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user