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

This commit is contained in:
omar 2017-11-19 00:49:23 +01:00
parent 4daf377c9b
commit 4cdd998be8
1 changed files with 1 additions and 1 deletions

View File

@ -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");