X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_bd%2Fbd_caveobject.c;h=69e886171db50893cd98671b1e8bd90557a4a1ed;hb=c34246941dc24a3fb5cfa6cfea86d633d5ea2abc;hp=748de2bedf4c71fbcc99420076aa56e442b21458;hpb=a52f531ad87a63674575f1de443bb7e31b737e7d;p=rocksndiamonds.git diff --git a/src/game_bd/bd_caveobject.c b/src/game_bd/bd_caveobject.c index 748de2be..69e88617 100644 --- a/src/game_bd/bd_caveobject.c +++ b/src/game_bd/bd_caveobject.c @@ -618,7 +618,7 @@ GdObject *gd_object_new_from_string(char *str) freeStringArray(words); words = getSplitStringArray(param, " ", -1); - l = g_strv_length(words); + l = getStringArrayLength(words); if (l < 10 || l > 19) return NULL;