From 33e19f58e07b1d4a5627e43a2bae7b4bfeade626 Mon Sep 17 00:00:00 2001 From: gymnast86 Date: Tue, 19 May 2026 07:56:32 -0700 Subject: [PATCH] github action fixes --- src/dusk/imgui/ImGuiMenuRandomizer.cpp | 2 +- src/dusk/randomizer/game/messages.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dusk/imgui/ImGuiMenuRandomizer.cpp b/src/dusk/imgui/ImGuiMenuRandomizer.cpp index 46e59d029f..e449b61742 100644 --- a/src/dusk/imgui/ImGuiMenuRandomizer.cpp +++ b/src/dusk/imgui/ImGuiMenuRandomizer.cpp @@ -168,7 +168,7 @@ namespace dusk { generationStatusMsgMutex.unlock(); } - ImGui::Text(generationText.c_str()); + ImGui::Text("%s", generationText.c_str()); ImGui::End(); } diff --git a/src/dusk/randomizer/game/messages.cpp b/src/dusk/randomizer/game/messages.cpp index 1b1ba94810..d138d5f1b0 100644 --- a/src/dusk/randomizer/game/messages.cpp +++ b/src/dusk/randomizer/game/messages.cpp @@ -4,7 +4,7 @@ #include "d/d_msg_class.h" #include "randomizer_context.hpp" -#include +#include // Format certain messages that need to have dynamic info in them char* GetFormatedTextOverride(u32 key, std::string& text) { @@ -20,12 +20,12 @@ char* GetFormatedTextOverride(u32 key, std::string& text) { case (0 << 16) | 325: // Group 0, id 325 // Poe Soul get item text value = dComIfGs_getPohSpiritNum() + 1; - outIt = std::vformat_to(buf.data(), text, std::make_format_args(value)); + outIt = fmt::vformat_to(buf.data(), text, fmt::make_format_args(value)); break; case (0 << 16) | 335: // Group 0, id 335 // Sky book characters get item text value = dComIfGs_getAncientDocumentNum() + 1; - outIt = std::vformat_to(buf.data(), text, std::make_format_args(value)); + outIt = fmt::vformat_to(buf.data(), text, fmt::make_format_args(value)); break; default: // No override, return original text