1
0
mirror of https://github.com/ocornut/imgui.git synced 2025-01-31 03:53:44 +01:00

Speculative warning fix

This commit is contained in:
ocornut 2015-03-16 18:04:51 +00:00
parent cb285c4d35
commit 7e00a41f1b

View File

@ -9174,7 +9174,7 @@ void ImGui::ShowTestWindow(bool* opened)
ImGui::SameLine(); ImGui::SameLine();
ImGui::PushID("set2"); ImGui::PushID("set2");
for (size_t i = 0; i < 4; i++) for (int i = 0; i < 4; i++)
{ {
if (i > 0) ImGui::SameLine(0, 4); if (i > 0) ImGui::SameLine(0, 4);
ImGui::PushID(i); ImGui::PushID(i);