Internal: InputTextEx: tweaked a bit of code (should be a no-op)

This commit is contained in:
omar
2019-10-05 16:53:28 +02:00
parent f1f321d3f6
commit 73fa6509a5
2 changed files with 17 additions and 14 deletions

View File

@ -4303,7 +4303,7 @@ void ImGui::Render()
}
// Calculate text size. Text can be multi-line. Optionally ignore text after a ## marker.
// CalcTextSize("") should return ImVec2(0.0f, GImGui->FontSize)
// CalcTextSize("") should return ImVec2(0.0f, g.FontSize)
ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width)
{
ImGuiContext& g = *GImGui;