From: Holger Schemel Date: Mon, 19 Feb 2024 19:22:50 +0000 (+0100) Subject: replaced glib function calls to g_ascii_isdigit() X-Git-Tag: 4.4.0.0-test-1~341 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=15917c33ba9dcb6898d6b8b7531c9833126f077a;p=rocksndiamonds.git replaced glib function calls to g_ascii_isdigit() --- diff --git a/src/game_bd/bd_bdcff.c b/src/game_bd/bd_bdcff.c index 19cfc2d7..6f3b935b 100644 --- a/src/game_bd/bd_bdcff.c +++ b/src/game_bd/bd_bdcff.c @@ -82,7 +82,7 @@ static boolean replay_store_from_bdcff(GdReplay *replay, const char *str) break; default: - if (g_ascii_isdigit(str[i])) + if (str[i] >= '0' && str[i] <= '9') { if (!num) num = str + i;