Fix restore crash bug

This commit is contained in:
Martin 2019-12-03 14:41:59 +01:00
parent b18f216ecd
commit 852f0d3491

View File

@ -642,7 +642,7 @@ bool RestoreFiles::openFiles(std::map<std::string, IFsFile*>& open_files, bool&
}
str_map::iterator it_tids = extra.find("tids");
if (it_tids != extra.begin())
if (it_tids != extra.end())
{
std::vector<std::string> toks;
Tokenize(it_tids->second, toks, ",");