diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 9ac07b764..d6475d01c 100644 --- a/imgui_demo.cpp +++ b/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 ? "" : names[selected_fish]); + ImGui::TextUnformatted(selected_fish == -1 ? "" : names[selected_fish]); if (ImGui::BeginPopup("select")) { ImGui::Text("Aquarium");