mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
Move nDir->Files into condition nDir exists.
Thanks AC.
This commit is contained in:
parent
4b8a1d2570
commit
d7efeb94f9
@ -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