Skip to content

Commit 87f1fe8

Browse files
committed
TestSuite: minor name update for IMGUI_VERSION_NUM=18984
1 parent b3f8937 commit 87f1fe8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

imgui_test_suite/imgui_tests_core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3663,7 +3663,7 @@ void RegisterTests_Misc(ImGuiTestEngine* e)
36633663
clipper.Begin(vars.ItemsIn);
36643664
#if IMGUI_VERSION_NUM >= 18509
36653665
if (vars.ForceDisplayStart != vars.ForceDisplayEnd)
3666-
clipper.IncludeRangeByIndices(vars.ForceDisplayStart, vars.ForceDisplayEnd);
3666+
clipper.IncludeItemsByIndex(vars.ForceDisplayStart, vars.ForceDisplayEnd);
36673667
#endif
36683668
while (clipper.Step())
36693669
{

imgui_test_suite/imgui_tests_widgets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3302,7 +3302,7 @@ void RegisterTests_Widgets(ImGuiTestEngine* e)
33023302
ImGuiListClipper clipper;
33033303
clipper.Begin(ITEMS_COUNT);
33043304
if (ms_io->RangeSrcItem > 0)
3305-
clipper.IncludeByIndex(selection.ItemDataToIndex(ms_io->RangeSrcItem));
3305+
clipper.IncludeItemByIndex(selection.ItemDataToIndex(ms_io->RangeSrcItem));
33063306
while (clipper.Step())
33073307
{
33083308
for (int item_n = clipper.DisplayStart; item_n < clipper.DisplayEnd; item_n++)

0 commit comments

Comments
 (0)