Fix build error on MSVC

LTO-timing^2
Andrei Kortunov 3 years ago
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…
Cancel
Save