From cff2e0dcc0e048eed41245dfa86758b3d3e70f08 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 25 Feb 2024 01:51:12 +0100 Subject: [PATCH] replaced glib function calls to g_utf8_strdown() --- src/game_bd/bd_cavedb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game_bd/bd_cavedb.c b/src/game_bd/bd_cavedb.c index 8fac3301..b29884cd 100644 --- a/src/game_bd/bd_cavedb.c +++ b/src/game_bd/bd_cavedb.c @@ -960,7 +960,7 @@ void gd_cave_db_init(void) { if (lowercase_names) /* the function allocates a new string, but it is needed as long as the app is running */ - gd_elements[i].lowercase_name = g_utf8_strdown(gettext(gd_elements[i].name), -1); + gd_elements[i].lowercase_name = getStringToLower(gettext(gd_elements[i].name)); else /* only translate, no lowercase. */ gd_elements[i].lowercase_name = gettext(gd_elements[i].name); -- 2.34.1