From 040e818d7215b648e216c25fa51c6093e273f651 Mon Sep 17 00:00:00 2001 From: Diego Mateos Date: Wed, 23 Aug 2023 10:11:42 +0200 Subject: [PATCH] Fix typo in SameLine comment (#6745) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index acb58a42..5993656f 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9547,7 +9547,7 @@ bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGu // Gets back to previous line and continue with horizontal layout // offset_from_start_x == 0 : follow right after previous item // offset_from_start_x != 0 : align to specified x position (relative to window/group left) -// spacing_w < 0 : use default spacing if pos_x == 0, no spacing if pos_x != 0 +// spacing_w < 0 : use default spacing if offset_from_start_x == 0, no spacing if offset_from_start_x != 0 // spacing_w >= 0 : enforce spacing amount void ImGui::SameLine(float offset_from_start_x, float spacing_w) {