mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-04 02:41:19 +00:00
minor simplification
This commit is contained in:
parent
a22ec223d8
commit
2236216344
@ -60,10 +60,10 @@ namespace Files
|
|||||||
{
|
{
|
||||||
boost::filesystem::path path = *dirIter;
|
boost::filesystem::path path = *dirIter;
|
||||||
|
|
||||||
if (!equal (extension, boost::filesystem::path (path.extension()).string()))
|
if (!equal (extension, path.extension().string()))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
std::string filename = boost::filesystem::path (path.filename()).string();
|
std::string filename = path.filename().string();
|
||||||
|
|
||||||
TIter result = mFiles.find (filename);
|
TIter result = mFiles.find (filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user