mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 09:07:43 +00:00
Update fmtlib
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user