Move nDir->Files into condition nDir exists.

Thanks AC.
This commit is contained in:
Phenom 2016-05-13 17:06:00 +02:00
parent 4b8a1d2570
commit d7efeb94f9

View File

@ -963,8 +963,8 @@ int FileIndex::loadIndex(const std::string& filename, const RsFileHash& expected
nfile->parent = ndir;
if (ndir) {
nfile->row = ndir->subdirs.size() + ndir->files.size();
ndir->files[nfile->name] = nfile;
}
ndir->files[nfile->name] = nfile;
}
/* create new dir and add to stack */