MRI: Fix Font.name returning nil

I wish I had tests..
This commit is contained in:
Jonas Kulla 2015-03-16 08:36:29 +01:00
parent 5379511d95
commit 8d7166f3d2
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ RB_METHOD(FontSetName)
Font *f = getPrivateData<Font>(self);
char result[256];
fontSetNameHelper(self, argc, argv, "default_name",
fontSetNameHelper(self, argc, argv, "name",
result, sizeof(result));
f->setName(result);