Fix typo in SameLine comment (#6745)

diff --git a/imgui.cpp b/imgui.cpp
index acb58a4..5993656 100644
--- a/imgui.cpp
+++ b/imgui.cpp
@@ -9547,7 +9547,7 @@
 // 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)
 {