Skip to content

Commit 802c9b1

Browse files
authored
Fixed bug with hexadecimal read number in botlib (#1161)
1 parent 995d0dd commit 802c9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codemp/botlib/l_script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ int PS_ReadNumber(script_t *script, token_t *token)
652652
//hexadecimal
653653
while((c >= '0' && c <= '9') ||
654654
(c >= 'a' && c <= 'f') ||
655-
(c >= 'A' && c <= 'A'))
655+
(c >= 'A' && c <= 'F'))
656656
{
657657
token->string[len++] = *script->script_p++;
658658
if (len >= MAX_TOKEN)

0 commit comments

Comments
 (0)