projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba41d9d
)
replaced glib function calls to g_ascii_strup()
author
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 18:04:01 +0000
(19:04 +0100)
committer
Holger Schemel
<info@artsoft.org>
Fri, 23 Feb 2024 18:04:01 +0000
(19:04 +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 b138a37b2a687715003e73fcb17dd29178e5dc86..1f757c8626ab76a881816122ca388ef3c2a5a69d 100644
(file)
--- 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 = g
etStringToUpper(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 = g
etStringToUpper(string
);
void *value;
boolean found;