Forgot to add a negative sign before the one when specifying the amount of arguments SFML::Image#initialize takes.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1751 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-12-06 08:34:15 +00:00
parent add3608e72
commit 9b25dc5641
2 changed files with 2 additions and 2 deletions

View File

@ -628,7 +628,7 @@ void Init_Image( void )
rb_define_singleton_method( globalImageClass, "getMaximumSize", Image_GetMaximumSize, 0 );
// Instance methods
rb_define_method( globalImageClass, "initialize", Image_Initialize, 1 );
rb_define_method( globalImageClass, "initialize", Image_Initialize, -1 );
rb_define_method( globalImageClass, "initialize_copy", Image_InitializeCopy, 1 );
rb_define_method( globalImageClass, "loadFromFile", Image_LoadFromFile, 1 );
rb_define_method( globalImageClass, "loadFromPixels", Image_LoadFromPixels, 3 );