summaryrefslogtreecommitdiff
path: root/mm/2s2h/DeveloperTools/SaveEditor.cpp
diff options
context:
space:
mode:
authorSirius902 <10891979+Sirius902@users.noreply.github.com>2025-01-26 17:59:45 -0800
committerGitHub <noreply@github.com>2025-01-26 20:59:45 -0500
commitc247f969a8ea1f0d075ed12ff5b7dbd2ca1e57ac (patch)
tree87dddda9a7b09fe2f91e498b5f888e4f477c34f1 /mm/2s2h/DeveloperTools/SaveEditor.cpp
parentcb94159e635a0832bc187ce7523269d8389bd04c (diff)
Add missing string format specifiers (#967)
Diffstat (limited to 'mm/2s2h/DeveloperTools/SaveEditor.cpp')
-rw-r--r--mm/2s2h/DeveloperTools/SaveEditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/2s2h/DeveloperTools/SaveEditor.cpp b/mm/2s2h/DeveloperTools/SaveEditor.cpp
index 9233efeb3..6ca6d5af9 100644
--- a/mm/2s2h/DeveloperTools/SaveEditor.cpp
+++ b/mm/2s2h/DeveloperTools/SaveEditor.cpp
@@ -1000,7 +1000,7 @@ void DrawSong(QuestItem slot) {
}
if (ImGui::IsItemHovered()) {
ImGui::BeginTooltip();
- ImGui::Text(songTooltip);
+ ImGui::Text("%s", songTooltip);
ImGui::EndTooltip();
}
if (slot != QUEST_SONG_SUN) {
@@ -1180,7 +1180,7 @@ void DrawDungeonItemTab() {
ImGui::BeginChild(std::to_string(i).c_str(),
ImVec2(INV_GRID_WIDTH * 6 + INV_GRID_PADDING * 2, INV_GRID_HEIGHT * 1.5 + INV_GRID_PADDING),
ImGuiChildFlags_Border);
- ImGui::Text(dungeonNames[i]);
+ ImGui::Text("%s", dungeonNames[i]);
if (ImGui::ImageButton(
stray_id.c_str(),
Ship::Context::GetInstance()->GetWindow()->GetGui()->GetTextureByName(fairyIcons[dungeonId]),
@@ -1440,7 +1440,7 @@ void DrawPlayerTab() {
ImGui::TableNextColumn();
for (int i = 0; i <= 3; i++) {
- ImGui::Text(std::to_string(states[i]).c_str());
+ ImGui::Text("%s", std::to_string(states[i]).c_str());
ImGui::TableNextColumn();
}