From: Holger Schemel Date: Sun, 25 Feb 2024 00:51:12 +0000 (+0100) Subject: replaced glib function calls to g_utf8_strdown() X-Git-Tag: 4.4.0.0-test-1~283 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=cff2e0dcc0e048eed41245dfa86758b3d3e70f08;p=rocksndiamonds.git replaced glib function calls to g_utf8_strdown() --- 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);