Some changes because of a mistake made on my behalf. I forgot to write rb_funcall2 but I used instead rb_funcall instead.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1718 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-25 23:05:37 +00:00
parent 2f46c7a85b
commit 1a6835e042

View File

@ -596,9 +596,9 @@ static VALUE Window_WaitEvent( VALUE self )
static VALUE Window_Initialize( int argc, VALUE *args, VALUE self ) static VALUE Window_Initialize( int argc, VALUE *args, VALUE self )
{ {
if( args > 0 ) if( argc > 0 )
{ {
rb_funcall( self, rb_intern( "create" ), argc, args ); rb_funcall2( self, rb_intern( "create" ), argc, args );
} }
return self; return self;
} }