From cde41d76610c710f8f414ad974715b8e4930d82c Mon Sep 17 00:00:00 2001 From: Martin Gerhardy Date: Tue, 18 May 2021 21:36:39 +0200 Subject: [PATCH] BOTLIB: fixed hex number check for upper case letters --- deps/botlib/l_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/botlib/l_script.c b/deps/botlib/l_script.c index d4da773..da36127 100644 --- a/deps/botlib/l_script.c +++ b/deps/botlib/l_script.c @@ -652,7 +652,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)