replaced glib function calls to g_ascii_isdigit()
authorHolger Schemel <info@artsoft.org>
Mon, 19 Feb 2024 19:22:50 +0000 (20:22 +0100)
committerHolger Schemel <info@artsoft.org>
Mon, 19 Feb 2024 19:22:50 +0000 (20:22 +0100)
src/game_bd/bd_bdcff.c

index 19cfc2d7cced2cc99fbe918f72280840a2a9d695..6f3b935b421aea5e5f30524f5c6c8eb27209ed69 100644 (file)
@@ -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;