mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Demo: Fix warning "format not a string literal and no format arguments" for over-zealous compilers settings. (#1450, #1451)
This commit is contained in:
parent
4daf377c9b
commit
4cdd998be8
@ -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…
Reference in New Issue
Block a user