mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21: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;
|
boost::filesystem::path path = *iter;
|
||||||
|
|
||||||
if (!equal (extension, path.extension()))
|
if (!equal (extension, boost::filesystem::path (path.extension()).string()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
std::string filename = path.filename();
|
std::string filename = boost::filesystem::path (path.filename()).string();
|
||||||
|
|
||||||
TIter result = mFiles.find (filename);
|
TIter result = mFiles.find (filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user