From 0e2ce2771c7d0c9b2dd5c06e3a4746738d3c9e47 Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sun, 17 Nov 2024 19:14:20 -0330 Subject: [PATCH] Fix whitespace. --- src/common/Rect.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/Rect.hxx b/src/common/Rect.hxx index e0c56d2c0..8b4a39999 100644 --- a/src/common/Rect.hxx +++ b/src/common/Rect.hxx @@ -114,10 +114,10 @@ private: public: constexpr Rect() = default; - constexpr explicit Rect(const Size& s) : bottom{ s.h }, right{ s.w } { assert(valid()); } - constexpr Rect(uInt32 w, uInt32 h) : bottom{ h }, right{ w } { assert(valid()); } + constexpr explicit Rect(const Size& s) : bottom{s.h}, right{s.w} { assert(valid()); } + constexpr Rect(uInt32 w, uInt32 h) : bottom{h}, right{w} { assert(valid()); } constexpr Rect(const Point& p, uInt32 w, uInt32 h) - : top(p.y), left(p.x), bottom(p.y + h), right( p.x + w) { assert(valid()); } + : top(p.y), left(p.x), bottom(p.y + h), right(p.x + w) { assert(valid()); } constexpr Rect(uInt32 x1, uInt32 y1, uInt32 x2, uInt32 y2) : top{y1}, left{x1}, bottom{y2}, right{x2} { assert(valid()); } constexpr uInt32 x() const { return left; }