Use -> syntactic sugar where appropriate (#26162)

This commit is contained in:
matheusvb3 authored and GitHub committed 2026-03-07 18:00:06 +01:00
1 parent 47006ad220
commit de3cf7e7a9
7 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -376,7 +376,7 @@ static constexpr float kWindowScrollLocations[][2] = {
if ((*it)->flags.has(WindowFlag::dead))
continue;
auto w2 = (*it).get();
auto w2 = it->get();
auto x1 = w2->windowPos.x - 10;
auto y1 = w2->windowPos.y - 10;
if (x2 >= x1 && x2 <= w2->width + x1 + 20)
@@ -560,7 +560,7 @@ static constexpr float kWindowScrollLocations[][2] = {
// Draw the window and any other overlapping transparent windows
for (auto it = WindowGetIterator(&w); it != gWindowList.end(); it++)
{
auto* v = (*it).get();
auto* v = it->get();
if (v->flags.has(WindowFlag::dead))
continue;
if ((&w == v || v->flags.has(WindowFlag::transparent)) && v->isVisible)