projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b154af
)
replaced glib function calls to g_utf8_strdown()
author
Holger Schemel
<info@artsoft.org>
Sun, 25 Feb 2024 00:51:12 +0000
(
01:51
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 25 Feb 2024 00:51:12 +0000
(
01:51
+0100)
src/game_bd/bd_cavedb.c
patch
|
blob
|
history
diff --git
a/src/game_bd/bd_cavedb.c
b/src/game_bd/bd_cavedb.c
index 8fac33019f3e0ab7d410d351f564f9d3d2526025..b29884cdbbfffb142664e89998c44b605db9209e 100644
(file)
--- 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 = g
etStringToLower(gettext(gd_elements[i].name)
);
else
/* only translate, no lowercase. */
gd_elements[i].lowercase_name = gettext(gd_elements[i].name);