From e064196f25ca1b0b55f2797ffbe52c3aa5bf6423 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 23 Jun 2020 05:50:41 -0400 Subject: [PATCH] rectangle: Correct assignment of right within SetExtents Previously left was being assigned twice in a row. --- 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 c67372c78..bb2fa4dff 100644 --- a/src/common/rectangle.h +++ b/src/common/rectangle.h @@ -41,7 +41,7 @@ struct Rectangle { left = x; top = y; - left = x + width; + right = x + width; bottom = y + height; }