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:
parent
8fc3635c2c
commit
8513bc9620
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue