From 15917c33ba9dcb6898d6b8b7531c9833126f077a Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 19 Feb 2024 20:22:50 +0100 Subject: [PATCH] replaced glib function calls to g_ascii_isdigit() --- src/game_bd/bd_bdcff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1