From 84fbc49403d1e18ba0774f453eb72bcf7c9701ec Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 3 Apr 2018 22:13:35 +0200 Subject: [PATCH] BeginChild: named child don't include the full id inside their name (#1698) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 8eb666b88..2f00e0ba2 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -5097,7 +5097,7 @@ static bool BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, b char title[256]; if (name) - ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s_%08X", parent_window->Name, name, id); + ImFormatString(title, IM_ARRAYSIZE(title), "%s/%s", parent_window->Name, name); else ImFormatString(title, IM_ARRAYSIZE(title), "%s/%08X", parent_window->Name, id);