From 4f7a73aad84cf7b2f60b2975479281e65daaca69 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 28 Sep 2011 01:02:48 +0000 Subject: fix FS#12295 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30614 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/usb_screen.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/gui/usb_screen.c') diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 2b3355021d..1d9fcec6e4 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c @@ -38,6 +38,7 @@ #include "led.h" #include "appevents.h" #include "usb_screen.h" +#include "skin_engine/skin_engine.h" #ifdef HAVE_LCD_BITMAP #include "bitmaps/usblogo.h" @@ -265,8 +266,11 @@ void gui_usb_screen_run(bool early_usb) /* The font system leaves the .fnt fd's open, so we need for force close them all */ #ifdef HAVE_LCD_BITMAP FOR_NB_SCREENS(i) + { font_unload(global_status.font_id[i]); - // FIXME skin_font_init(); /* unload all the skin fonts */ + global_status.font_id[i] = -1; + } + skin_unload_all(); #endif } -- cgit v1.2.3