mirror of https://github.com/ocornut/imgui
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.."))
|
if (ImGui::Button("Select.."))
|
||||||
ImGui::OpenPopup("select");
|
ImGui::OpenPopup("select");
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Text(selected_fish == -1 ? "<None>" : names[selected_fish]);
|
ImGui::TextUnformatted(selected_fish == -1 ? "<None>" : names[selected_fish]);
|
||||||
if (ImGui::BeginPopup("select"))
|
if (ImGui::BeginPopup("select"))
|
||||||
{
|
{
|
||||||
ImGui::Text("Aquarium");
|
ImGui::Text("Aquarium");
|
||||||
|
|
Loading…
Reference in New Issue