2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Update fmtlib

This commit is contained in:
Jack Andersen
2020-04-11 12:51:39 -10:00
parent 7055b6983f
commit 5b4441ac36
156 changed files with 786 additions and 777 deletions

View File

@@ -41,7 +41,7 @@ static LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM l
int wmain(int argc, const hecl::SystemChar** argv) {
if (argc > 1 && !wcscmp(argv[1], L"--dlpackage")) {
fmt::print(fmt("{}\n"), URDE_DLPACKAGE);
fmt::print(FMT_STRING("{}\n"), URDE_DLPACKAGE);
return 100;
}
@@ -125,7 +125,7 @@ int wmain(int argc, const hecl::SystemChar** argv) {
continue;
case WM_USER + 1: {
/* Update window title from client thread */
std::wstring title = fmt::format(fmt(L"VISIGen [{:g}%]"), s_Percent * 100.f);
std::wstring title = fmt::format(FMT_STRING(L"VISIGen [{:g}%]"), s_Percent * 100.f);
SetWindowTextW(window, title.c_str());
continue;
}