mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-01 21:56:06 -04:00
Move nDir->Files into condition nDir exists.
Thanks AC.
This commit is contained in:
parent
4b8a1d2570
commit
d7efeb94f9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue