1
0
Fork 0
forked from len0rd/rockbox

fix FS#12295

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30614 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-09-28 01:02:48 +00:00
parent a1d3a1d143
commit 4f7a73aad8
4 changed files with 15 additions and 3 deletions

View file

@ -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
}