Separator: Fixed Separator() outputting an extraneous empty line when captured into clipboard/text/file.

This commit is contained in:
omar
2018-11-30 16:42:32 +01:00
parent baf67d393f
commit 1bfcf8f339
2 changed files with 2 additions and 1 deletions

View File

@ -1153,7 +1153,7 @@ void ImGui::Separator()
window->DrawList->AddLine(bb.Min, ImVec2(bb.Max.x,bb.Min.y), GetColorU32(ImGuiCol_Separator));
if (g.LogEnabled)
LogRenderedText(NULL, IM_NEWLINE "--------------------------------");
LogRenderedText(&bb.Min, "--------------------------------");
if (window->DC.ColumnsSet)
{