mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-29 03:00:05 +00:00
Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings.
This commit is contained in:
parent
2d0a6a4969
commit
3973de7933
4 changed files with 13 additions and 13 deletions
|
|
@ -205,7 +205,7 @@ void ImGui::TextEx(const char* text, const char* text_end, ImGuiTextFlags flags)
|
|||
ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height));
|
||||
while (line < text_end)
|
||||
{
|
||||
if (IsClippedEx(line_rect, 0, false))
|
||||
if (IsClippedEx(line_rect, 0))
|
||||
break;
|
||||
|
||||
const char* line_end = (const char*)memchr(line, '\n', text_end - line);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue