From 4813ca8d8ede80d883fbe33833bb4a65fae476bc Mon Sep 17 00:00:00 2001
From: groogy <groogy@4e206d99-4929-0410-ac5d-dfc041789085>
Date: Sun, 13 Feb 2011 18:10:46 +0000
Subject: [PATCH] A little mistake by me. A warning from the compiler got me
 notified about it.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1799 4e206d99-4929-0410-ac5d-dfc041789085
---
 bindings/ruby/sfml-graphics/graphics/Drawable.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp
index 3633b5c9..38efe6f9 100644
--- a/bindings/ruby/sfml-graphics/graphics/Drawable.cpp
+++ b/bindings/ruby/sfml-graphics/graphics/Drawable.cpp
@@ -451,7 +451,7 @@ static VALUE Drawable_Rotate( VALUE self, VALUE aRotation )
  */
 static VALUE Drawable_TransformToLocal( VALUE self, VALUE aPoint )
 {
-	VALUE point = Vector2_ForceType( point );
+	VALUE point = Vector2_ForceType( aPoint );
 	rbDrawable *object = NULL;
 	Data_Get_Struct( self, rbDrawable, object );
 	sf::Vector2f newPoint = object->TransformToLocal( sf::Vector2f( NUM2DBL( Vector2_GetX( point ) ), 
@@ -470,7 +470,7 @@ static VALUE Drawable_TransformToLocal( VALUE self, VALUE aPoint )
  */
 static VALUE Drawable_TransformToGlobal( VALUE self, VALUE aPoint )
 {
-	VALUE point = Vector2_ForceType(point);
+	VALUE point = Vector2_ForceType(aPoint);
 	rbDrawable *object = NULL;
 	Data_Get_Struct( self, rbDrawable, object );
 	sf::Vector2f newPoint = object->TransformToGlobal( sf::Vector2f( NUM2DBL( Vector2_GetX( point ) ),