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:
parent
2f46c7a85b
commit
1a6835e042
@ -596,9 +596,9 @@ static VALUE Window_WaitEvent( 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user