1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 15:29:55 +00:00

Fix build error on MSVC

This commit is contained in:
Andrei Kortunov 2022-07-09 22:53:34 +04:00
parent 8fc3635c2c
commit 8513bc9620

View file

@ -220,7 +220,7 @@ namespace Gui
{
std::filesystem::path path = name;
if (Misc::getFileExtension(name) == "omwfont")
MyGUI::ResourceManager::getInstance().load(path.filename());
MyGUI::ResourceManager::getInstance().load(path.filename().string());
}
dataManager->setResourcePath(oldDataPath);