font_table[].name wasn't filled

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27963 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Fred Bauer 2010-09-01 05:21:39 +00:00
parent ca91d0fd7a
commit 55704d8942

View file

@ -85,6 +85,7 @@ int skin_font_load(char* font_name, int glyphs)
else if (!font && font_table[i].font_id == -1)
{
font = &font_table[i];
strcpy(font_table[i].name, filename);
}
}
if (!font)