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; }