summaryrefslogtreecommitdiff
path: root/Games/Minesweeper/Field.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:02:38 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:02:38 +0100
commit20cfd2a6bff8c469970651dd73ffee60ab0e5176 (patch)
tree4f92b38ae97fb0add184ccae97d679f484ef1a49 /Games/Minesweeper/Field.cpp
parentc39d44fc2ef0d2e5435524c5b96b5a367df2438b (diff)
downloadserenity-20cfd2a6bff8c469970651dd73ffee60ab0e5176.zip
LibGfx: Unpublish Gfx::Rect from global namespace
Diffstat (limited to 'Games/Minesweeper/Field.cpp')
-rw-r--r--Games/Minesweeper/Field.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Games/Minesweeper/Field.cpp b/Games/Minesweeper/Field.cpp
index 7f4039bc28..5ccd5f0bcf 100644
--- a/Games/Minesweeper/Field.cpp
+++ b/Games/Minesweeper/Field.cpp
@@ -237,7 +237,7 @@ void Field::reset()
for (int c = 0; c < columns(); ++c) {
if (!m_squares[i])
m_squares[i] = make<Square>();
- Rect rect = { frame_thickness() + c * square_size(), frame_thickness() + r * square_size(), square_size(), square_size() };
+ Gfx::Rect rect = { frame_thickness() + c * square_size(), frame_thickness() + r * square_size(), square_size(), square_size() };
auto& square = this->square(r, c);
square.field = this;
square.row = r;