From 8335502866dd8d771662c38e3d06a2e42c0dd5ad Mon Sep 17 00:00:00 2001 From: groogy Date: Fri, 19 Nov 2010 08:30:38 +0000 Subject: [PATCH] Forgot to change a variable name, now it compiles and works. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1673 4e206d99-4929-0410-ac5d-dfc041789085 --- bindings/ruby/sfml-system/system/Vector2.cpp | 8 ++++---- bindings/ruby/sfml-system/system/Vector3.cpp | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bindings/ruby/sfml-system/system/Vector2.cpp b/bindings/ruby/sfml-system/system/Vector2.cpp index b3f0abca0..3add5ea05 100644 --- a/bindings/ruby/sfml-system/system/Vector2.cpp +++ b/bindings/ruby/sfml-system/system/Vector2.cpp @@ -184,8 +184,8 @@ static VALUE Vector2_Equal( VALUE self, VALUE anArgument ) VALUE aVector = Vector2_ForceType( anArgument ); VALUE leftX = Vector2_GetX( self ); VALUE leftY = Vector2_GetY( self ); - VALUE rightX = Vector2_GetX( rightVector ); - VALUE rightY = Vector2_GetY( rightVector ); + VALUE rightX = Vector2_GetX( aVector ); + VALUE rightY = Vector2_GetY( aVector ); if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue && rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == Qtrue ) @@ -204,8 +204,8 @@ static VALUE Vector2_StrictEqual( VALUE self, VALUE anArgument ) VALUE aVector = Vector2_ForceType( anArgument ); VALUE leftX = Vector2_GetX( self ); VALUE leftY = Vector2_GetY( self ); - VALUE rightX = Vector2_GetX( rightVector ); - VALUE rightY = Vector2_GetY( rightVector ); + VALUE rightX = Vector2_GetX( aVector ); + VALUE rightY = Vector2_GetY( aVector ); if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue && rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue ) diff --git a/bindings/ruby/sfml-system/system/Vector3.cpp b/bindings/ruby/sfml-system/system/Vector3.cpp index 214b63870..b17fde20d 100644 --- a/bindings/ruby/sfml-system/system/Vector3.cpp +++ b/bindings/ruby/sfml-system/system/Vector3.cpp @@ -212,9 +212,9 @@ static VALUE Vector3_Equal( VALUE self, VALUE anArgument ) VALUE leftX = Vector3_GetX( self ); VALUE leftY = Vector3_GetY( self ); VALUE leftZ = Vector3_GetZ( self ); - VALUE rightX = Vector3_GetX( rightVector ); - VALUE rightY = Vector3_GetY( rightVector ); - VALUE rightZ = Vector3_GetZ( rightVector ); + VALUE rightX = Vector3_GetX( aVector ); + VALUE rightY = Vector3_GetY( aVector ); + VALUE rightZ = Vector3_GetZ( aVector ); if( rb_funcall( leftX, rb_intern( "==" ), 1, rightX ) == Qtrue && rb_funcall( leftY, rb_intern( "==" ), 1, rightY ) == Qtrue && @@ -235,9 +235,9 @@ static VALUE Vector3_StrictEqual( VALUE self, VALUE anArgument ) VALUE leftX = Vector3_GetX( self ); VALUE leftY = Vector3_GetY( self ); VALUE leftZ = Vector3_GetZ( self ); - VALUE rightX = Vector3_GetX( rightVector ); - VALUE rightY = Vector3_GetY( rightVector ); - VALUE rightZ = Vector3_GetZ( rightVector ); + VALUE rightX = Vector3_GetX( aVector ); + VALUE rightY = Vector3_GetY( aVector ); + VALUE rightZ = Vector3_GetZ( aVector ); if( rb_funcall( leftX, rb_intern( "eql?" ), 1, rightX ) == Qtrue && rb_funcall( leftY, rb_intern( "eql?" ), 1, rightY ) == Qtrue &&