summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-21 02:53:50 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-21 02:53:50 +0000
commiteca85ac32740089245c92fd3d89299127be65a8f (patch)
tree46d8f44b530272f964bdf0d8dd9dcba471060db3 /apps/gui/skin_engine
parentb1cc087a6718c027a7d34fde503d3378b753e086 (diff)
make sure font fd's get closed when a new skin is loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24803 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-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 1d3ef84271..0376803d2f 100644
--- a/apps/gui/skin_engine/skin_fonts.c
+++ b/apps/gui/skin_engine/skin_fonts.c
@@ -55,6 +55,7 @@ void skin_font_init(void)
font_table[i].buffer = NULL;
font_table[i].ref_count = 0;
}
+ first_load = false;
}
/* load a font into the skin buffer. return the font id. */