Build fix
This commit is contained in:
parent
787be01e61
commit
47d10944a5
@ -1645,7 +1645,7 @@ void ImGuiListClipper::End()
|
||||
if (ItemsCount < 0)
|
||||
return;
|
||||
// In theory here we should assert that ImGui::GetCursorPosY() == StartPosY + DisplayEnd * ItemsHeight, but it feels saner to just seek at the end and not assert/crash the user.
|
||||
if (ItemsCount < INT_MAX)
|
||||
if (ItemsCount < IM_INT_MAX)
|
||||
SetCursorPosYAndSetupDummyPrevLine(StartPosY + ItemsCount * ItemsHeight, ItemsHeight); // advance cursor
|
||||
ItemsCount = -1;
|
||||
StepNo = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user