projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d15b43
)
replaced glib function calls to g_str_equal()
author
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 18:05:31 +0000
(19:05 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 18:05:31 +0000
(19:05 +0100)
src/game_bd/bd_cave.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_cave.c
b/src/game_bd/bd_cave.c
index 1f757c8626ab76a881816122ca388ef3c2a5a69d..537d8cb00a1c1da8c6841269664efade12ecbd59 100644
(file)
--- a/
src/game_bd/bd_cave.c
+++ b/
src/game_bd/bd_cave.c
@@
-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_e
qual(highscores[i].name, name) && highscores[i].score == score)
+ if (
strE
qual(highscores[i].name, name) && highscores[i].score == score)
return i;
return -1;