replaced glib function calls to g_strcompress()
[rocksndiamonds.git] / src / game_bd / bd_caveobject.c
index 750543d2c5ab24007dfb83cff797a606f960f370..69e886171db50893cd98671b1e8bd90557a4a1ed 100644 (file)
@@ -615,10 +615,10 @@ GdObject *gd_object_new_from_string(char *str)
       return NULL;
 
     if (words)
-      g_strfreev(words);
+      freeStringArray(words);
 
-    words = g_strsplit_set(param, " ", -1);
-    l = g_strv_length(words);
+    words = getSplitStringArray(param, " ", -1);
+    l = getStringArrayLength(words);
 
     if (l < 10 || l > 19)
       return NULL;