Using range-based for where it makes sense. (#4537)

Amend 82d177c
This commit is contained in:
ocornut
2023-09-04 15:13:12 +02:00
parent a1b60fc1f5
commit 1d8e48c161
2 changed files with 43 additions and 55 deletions

View File

@@ -4907,7 +4907,7 @@ static void ShowDemoWindowTables()
ImGui::TableNextColumn();
ImGui::Text("CellPadding.y = %.2f", style.CellPadding.y);
if ((row % 3) == 2)
ImGui::PopStyleVar();;
ImGui::PopStyleVar();
}
ImGui::EndTable();
}