From 2d15b436a68c78e7d443368ddea376c54519c59e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 23 Feb 2024 19:04:01 +0100 Subject: [PATCH] replaced glib function calls to g_ascii_strup() --- src/game_bd/bd_cave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game_bd/bd_cave.c b/src/game_bd/bd_cave.c index b138a37b..1f757c86 100644 --- a/src/game_bd/bd_cave.c +++ b/src/game_bd/bd_cave.c @@ -282,7 +282,7 @@ void gd_cave_init(void) { char *key; - key = g_ascii_strup(gd_elements[i].filename, -1); + key = getStringToUpper(gd_elements[i].filename); if (hashtable_exists(name_to_element, key)) /* hash value may be 0 */ Warn("Name %s already used for element %x", key, i); @@ -322,7 +322,7 @@ void gd_cave_init(void) /* search the element database for the specified name, and return the element */ GdElement gd_get_element_from_string (const char *string) { - char *upper = g_ascii_strup(string, -1); + char *upper = getStringToUpper(string); void *value; boolean found; -- 2.34.1