From 3fa15f5ebb74c43090b4603936d2eed953b7b9ec Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 31 Aug 2024 16:25:36 +0200 Subject: [PATCH] changed ascii range --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 6ef71ba..0d2c41f 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -142,7 +142,7 @@ void add_brackets(char **json) why2_bool is_ascii(char c) { - return 20 <= c && c <= 126; + return 33 <= c && c <= 126; } void remove_non_ascii(char **text)