diff --git a/include/SFML/Graphics/Rect.inl b/include/SFML/Graphics/Rect.inl index 1a2ba5495..61d440c72 100644 --- a/include/SFML/Graphics/Rect.inl +++ b/include/SFML/Graphics/Rect.inl @@ -64,9 +64,9 @@ template template Rect::Rect(const Rect& rectangle) : left (static_cast(rectangle.left)), -top (static_cast(rectangle.Top)), -width (static_cast(rectangle.Width)), -height(static_cast(rectangle.Height)) +top (static_cast(rectangle.top)), +width (static_cast(rectangle.width)), +height(static_cast(rectangle.height)) { }