summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2010-09-01 05:21:39 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2010-09-01 05:21:39 +0000
commit55704d8942261434c13bdc84712e0dd5be619e85 (patch)
tree51e46a2fc6ea6ebbe1c08c95aa3223c11f7b7c22
parentca91d0fd7add9b4745b81b3579635f471314a4ac (diff)
downloadrockbox-55704d8942261434c13bdc84712e0dd5be619e85.tar.gz
rockbox-55704d8942261434c13bdc84712e0dd5be619e85.zip
font_table[].name wasn't filled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27963 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_fonts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_fonts.c b/apps/gui/skin_engine/skin_fonts.c
index 128bffcfba..e5081e8cd9 100644
--- a/apps/gui/skin_engine/skin_fonts.c
+++ b/apps/gui/skin_engine/skin_fonts.c
@@ -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)