projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added function to free string array
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_caveobject.c
diff --git
a/src/game_bd/bd_caveobject.c
b/src/game_bd/bd_caveobject.c
index 750543d2c5ab24007dfb83cff797a606f960f370..c02023976b1d6de13e15680aaa2b074dfc1648f1 100644
(file)
--- a/
src/game_bd/bd_caveobject.c
+++ b/
src/game_bd/bd_caveobject.c
@@
-617,7
+617,7
@@
GdObject *gd_object_new_from_string(char *str)
if (words)
g_strfreev(words);
- words = g
_strsplit_set
(param, " ", -1);
+ words = g
etSplitStringArray
(param, " ", -1);
l = g_strv_length(words);
if (l < 10 || l > 19)