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

index 1f757c8626ab76a881816122ca388ef3c2a5a69d..537d8cb00a1c1da8c6841269664efade12ecbd59 100644 (file)
@@ -416,7 +416,7 @@ int gd_add_highscore(GdHighScore *highscores, const char *name, int score)
   qsort(highscores, GD_HIGHSCORE_NUM, sizeof(GdHighScore), gd_highscore_compare);
 
   for (i = 0; i < GD_HIGHSCORE_NUM; i++)
-    if (g_str_equal(highscores[i].name, name) && highscores[i].score == score)
+    if (strEqual(highscores[i].name, name) && highscores[i].score == score)
       return i;
 
   return -1;