mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Merge pull request #382 from PhenomRetroShare/Fix_CorrectPR378
Move nDir->Files into condition nDir exists.
This commit is contained in:
commit
52f488c84f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user