Skip to content

Commit

Permalink
TestSuite: minor name update for IMGUI_VERSION_NUM=18984
Browse files Browse the repository at this point in the history
  • Loading branch information
ocornut committed Aug 25, 2023
1 parent b3f8937 commit 87f1fe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion imgui_test_suite/imgui_tests_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3663,7 +3663,7 @@ void RegisterTests_Misc(ImGuiTestEngine* e)
clipper.Begin(vars.ItemsIn);
#if IMGUI_VERSION_NUM >= 18509
if (vars.ForceDisplayStart != vars.ForceDisplayEnd)
clipper.IncludeRangeByIndices(vars.ForceDisplayStart, vars.ForceDisplayEnd);
clipper.IncludeItemsByIndex(vars.ForceDisplayStart, vars.ForceDisplayEnd);
#endif
while (clipper.Step())
{
Expand Down
2 changes: 1 addition & 1 deletion imgui_test_suite/imgui_tests_widgets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3302,7 +3302,7 @@ void RegisterTests_Widgets(ImGuiTestEngine* e)
ImGuiListClipper clipper;
clipper.Begin(ITEMS_COUNT);
if (ms_io->RangeSrcItem > 0)
clipper.IncludeByIndex(selection.ItemDataToIndex(ms_io->RangeSrcItem));
clipper.IncludeItemByIndex(selection.ItemDataToIndex(ms_io->RangeSrcItem));
while (clipper.Step())
{
for (int item_n = clipper.DisplayStart; item_n < clipper.DisplayEnd; item_n++)
Expand Down

0 comments on commit 87f1fe8

Please sign in to comment.