From 4119c3bb313e091d5b3cb666d58c921bd41421c9 Mon Sep 17 00:00:00 2001 From: Laurent Gomila Date: Mon, 12 Mar 2012 18:01:36 +0100 Subject: [PATCH] Fixed compile error in sf::Rect --- include/SFML/Graphics/Rect.inl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/SFML/Graphics/Rect.inl b/include/SFML/Graphics/Rect.inl index 1a2ba549..61d440c7 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)) { }