Fix nodelist path in nodelist index. Patch from Konstantin Kuzov 2:5019/40

This commit is contained in:
Stas Degteff 2009-06-17 08:48:38 +00:00
parent b29984710a
commit 8f76a359a5

View File

@ -1065,7 +1065,7 @@ static void check_nodelists(bool force)
if(not listdefined or (de->stat_info.st_mtime-listtime > 0)) {
listtime = de->stat_info.st_mtime;
listdefined = true;
strxmerge(nodelist[n].fn, sizeof(Path), f.fullpath(), GOLD_SLASH_STR, de->name.c_str(), NULL);
strxmerge(nodelist[n].fn, sizeof(Path), newpath, de->name.c_str(), NULL);
}
}
strchg(nodelist[n].fn, GOLD_WRONG_SLASH_CHR, GOLD_SLASH_CHR);