replaced glib function calls to g_ascii_tolower()
authorHolger Schemel <info@artsoft.org>
Fri, 23 Feb 2024 18:00:43 +0000 (19:00 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Feb 2024 18:00:43 +0000 (19:00 +0100)
src/game_bd/bd_c64import.c

index 49e0ded24116b184e46d56f408e2d25e7f6aeaaa..b838aa4323caeec908b9800a41f2ccd387d1fe14 100644 (file)
@@ -1452,7 +1452,7 @@ static int cave_copy_from_1stb(GdCave *cave, const guint8 *data, int remaining_b
       c = ' ';    /* don't know this, so change to space */
 
     if (i > 0)
-      c = g_ascii_tolower(c);
+      c = tolower(c);
 
     cave->name[i] = c;
   }
@@ -1581,7 +1581,7 @@ static int cave_copy_from_crdr_7(GdCave *cave, const guint8 *data, int remaining
     else
       c = ' ';
     if (i > 0)
-      c = g_ascii_tolower(c);
+      c = tolower(c);
 
     cave->name[i] = c;
   }
@@ -2028,7 +2028,7 @@ static int cave_copy_from_crli(GdCave *cave, const guint8 *data, int remaining_b
        c = ' ';
 
       if (i > 0)
-       c = g_ascii_tolower(c);
+       c = tolower(c);
 
       cave->name[i] = c;
     }