From d36a634ac845a585fb44cf8d4a89066620166002 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 13 Aug 2015 11:55:48 -0600 Subject: [PATCH] Demo: Fixed incorrectly formed string passed to Combo (#298) --- imgui_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index f4f5850c..2d3817ab 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -1999,7 +1999,7 @@ static void ShowExampleAppLongText(bool* opened) static ImGuiTextBuffer log; static int lines = 0; ImGui::Text("Printing unusually long amount of text."); - ImGui::Combo("Test type", &test_type, "Single call to TextUnformatted()\0Multiple calls to Text(), clipped manually\0Multiple calls to Text(), not clipped"); + ImGui::Combo("Test type", &test_type, "Single call to TextUnformatted()\0Multiple calls to Text(), clipped manually\0Multiple calls to Text(), not clipped\0"); ImGui::Text("Buffer contents: %d lines, %d bytes", lines, log.size()); if (ImGui::Button("Clear")) { log.clear(); lines = 0; } ImGui::SameLine();