Fix bugs + inprovement

This commit is contained in:
lxsang
2015-11-24 17:58:32 +01:00
parent 84c8875588
commit 27fd4a0134
19 changed files with 452 additions and 302 deletions

View File

@ -15,11 +15,11 @@ char* folder_list_from(const char* aPath)
{
for(list np = path; np != NULL; np=np->next)
{
route = __s("%s%s%s", route, DIR_SEP, np->e.value.s);
route = __s("%s%s%s", route, DIR_SEP, np->value.s);
if(flist == NULL)
flist = __s(FOLLIST, np->e.value.s,route);
flist = __s(FOLLIST, np->value.s,route);
else
flist = __s("%s,%s", flist,__s(FOLLIST,np->e.value.s,route));
flist = __s("%s,%s", flist,__s(FOLLIST,np->value.s,route));
}
}
free(path);

Binary file not shown.