mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Fix build error on MSVC
This commit is contained in:
parent
8fc3635c2c
commit
8513bc9620
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user