Skip to content

Commit

Permalink
BeginChild: named child don't include the full id inside their name (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Apr 3, 2018
1 parent 78610a5 commit 84fbc49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imgui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 84fbc49

Please sign in to comment.