MRI: Use ruby 2.0 compatible function name

This commit is contained in:
Jonas Kulla 2014-09-30 00:48:22 +02:00
parent 4a015c6397
commit 3dd703f732
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ fontBindingInit()
if (rgssVer >= 2)
{
VALUE defNames = rb_ary_new_capa(3);
VALUE defNames = rb_ary_new2(3);
rb_ary_push(defNames, rb_str_new2("Verdana"));
rb_ary_push(defNames, rb_str_new2("Arial"));
rb_ary_push(defNames, rb_str_new2("Courier New"));