Building on windows.
This commit is contained in:
@@ -46,8 +46,10 @@ MHacheWindow::MHacheWindow(int width, int height)
|
||||
|
||||
const std::filesystem::path filefont = "../../fonts/Sweet16mono.ttf";
|
||||
|
||||
if (std::filesystem::exists(filefont))
|
||||
ImGui::GetIO().Fonts->AddFontFromFileTTF(filefont.c_str(), 16);
|
||||
if (std::filesystem::exists(filefont)) {
|
||||
ImGui::GetIO().Fonts->AddFontFromFileTTF(filefont.u8string().c_str(), 16);
|
||||
}
|
||||
|
||||
else
|
||||
ImGui::GetIO().Fonts->AddFontDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user