Fix the file search by filename key
This commit is contained in:
parent
ccdba9d6c7
commit
a848d8e94e
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ bool SfzFileScan::locateRealFile(const fs::path& pathOrig, fs::path& pathFound)
|
|||
std::unique_lock<std::mutex> lock { mutex };
|
||||
refreshScan();
|
||||
|
||||
auto it = file_index_.find(keyOf(pathOrig));
|
||||
auto it = file_index_.find(keyOf(pathOrig.filename()));
|
||||
if (it == file_index_.end())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue