From 6053c1f48da83d482fa1920d59376d4b45d1c312 Mon Sep 17 00:00:00 2001 From: pumpkinbunny <73035469+pumpkinbunny@users.noreply.github.com> Date: Sun, 7 Jun 2026 09:01:09 +0100 Subject: [PATCH] Demo: Add missing trailing null terminator to convex shape combo (#9434) --- imgui_demo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_demo.cpp b/imgui_demo.cpp index 946b1439c..f4c0effda 100644 --- a/imgui_demo.cpp +++ b/imgui_demo.cpp @@ -10431,7 +10431,7 @@ static void ShowExampleAppCustomRendering(bool* p_open) ImGui::ColorEdit4("Shadow Color", &shadow_color.x); ImGui::ColorEdit4("Shape Color", &shape_color.x); ImGui::DragFloat("Shape Rounding", &shape_rounding, 1.0f, 0.0f, 20.0f, "%.02f"); - ImGui::Combo("Convex shape", &poly_shape_index, "Shape 1\0Shape 2\0Shape 3\0Shape 4\0Shape 4 (winding reversed)"); + ImGui::Combo("Convex shape", &poly_shape_index, "Shape 1\0Shape 2\0Shape 3\0Shape 4\0Shape 4 (winding reversed)\0"); ImDrawList* draw_list = ImGui::GetWindowDrawList(); ImDrawListFlags old_flags = draw_list->Flags;