mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
boost filesystem fix
This commit is contained in:
parent
d9f1b64213
commit
a133920eb0
@ -55,10 +55,10 @@ namespace Files
|
||||
{
|
||||
boost::filesystem::path path = *iter;
|
||||
|
||||
if (!equal (extension, path.extension()))
|
||||
if (!equal (extension, boost::filesystem::path (path.extension()).string()))
|
||||
continue;
|
||||
|
||||
std::string filename = path.filename();
|
||||
std::string filename = boost::filesystem::path (path.filename()).string();
|
||||
|
||||
TIter result = mFiles.find (filename);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user