X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsetup.c;h=f7d30d6431a9d28f66fe6954feddcb4b44d28577;hb=d0e7ff980c3d4d73ac39c2670177e6030b966760;hp=fefe33dfbd0dfa074578769eb7d865371ce4b9ee;hpb=f1685723f2d920b7d7349c57e902c7adfaffdb1c;p=rocksndiamonds.git diff --git a/src/libgame/setup.c b/src/libgame/setup.c index fefe33df..f7d30d64 100644 --- a/src/libgame/setup.c +++ b/src/libgame/setup.c @@ -1649,12 +1649,12 @@ static boolean LoadArtworkInfoFromArtworkConf(TreeInfo **node_first, if (node_parent == NULL) /* top level group */ { - artwork_new->basepath = base_directory; - artwork_new->fullpath = artwork_new->filename; + artwork_new->basepath = getStringCopy(base_directory); + artwork_new->fullpath = getStringCopy(artwork_new->filename); } else /* sub level group */ { - artwork_new->basepath = node_parent->basepath; + artwork_new->basepath = getStringCopy(node_parent->basepath); artwork_new->fullpath = getPath2(node_parent->fullpath, directory_name); }