Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Commit

Permalink
Fixed invalid inspect method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Groogy committed Jan 25, 2014
1 parent a41de62 commit e9f5553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/Graphics/View.cpp
Expand Up @@ -299,7 +299,7 @@ VALUE rbView::Equal( VALUE aSelf, VALUE anOther )
// View#to_s
VALUE rbView::Inspect( VALUE aSelf )
{
VALUE viewportString = rb_funcall( rbView::GetViewport( aSelf ), rb_intern( "insepct" ), 0 );
VALUE viewportString = rb_funcall( rbView::GetViewport( aSelf ), rb_intern( "inspect" ), 0 );
return rb_sprintf( "%s(%s)",
rb_obj_classname( aSelf ),
StringValueCStr( viewportString ) );
Expand Down

0 comments on commit e9f5553

Please sign in to comment.