From 5df7fbd68c07b8eab9eebf7d1ef273015eb532e5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 28 Feb 2020 17:00:19 +1000 Subject: [PATCH] Common/Rectangle: Fix typo in assignment operator --- src/common/rectangle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/rectangle.h b/src/common/rectangle.h index 1521f4fba..4f4e49e5f 100644 --- a/src/common/rectangle.h +++ b/src/common/rectangle.h @@ -68,7 +68,7 @@ struct Rectangle { left = rhs.left; top = rhs.top; - left = rhs.left; + right = rhs.right; bottom = rhs.bottom; return *this; }