Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (#1450, #1451)

features/sdl_renderer3_multiviewports
omar ago%!(EXTRA string=8 years)
parent 4daf377c9b
commit 4cdd998be8
  1. 2
      imgui_demo.cpp

@ -1341,7 +1341,7 @@ void ImGui::ShowTestWindow(bool* p_open)
if (ImGui::Button("Select.."))
ImGui::OpenPopup("select");
ImGui::SameLine();
ImGui::Text(selected_fish == -1 ? "<None>" : names[selected_fish]);
ImGui::TextUnformatted(selected_fish == -1 ? "<None>" : names[selected_fish]);
if (ImGui::BeginPopup("select"))
{
ImGui::Text("Aquarium");

Loading…
Cancel
Save