summaryrefslogtreecommitdiff
path: root/apps/gui/usb_screen.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-09-28 01:02:48 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-09-28 01:02:48 +0000
commit4f7a73aad84cf7b2f60b2975479281e65daaca69 (patch)
tree635066acc3d282b8a71e17668c578f50f7b42340 /apps/gui/usb_screen.c
parenta1d3a1d14364425489db2b49d8e4a40f1b995b90 (diff)
downloadrockbox-4f7a73aad84cf7b2f60b2975479281e65daaca69.tar.gz
rockbox-4f7a73aad84cf7b2f60b2975479281e65daaca69.zip
fix FS#12295
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30614 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/usb_screen.c')
-rw-r--r--apps/gui/usb_screen.c6
1 files changed, 5 insertions, 1 deletions
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 @@
38#include "led.h" 38#include "led.h"
39#include "appevents.h" 39#include "appevents.h"
40#include "usb_screen.h" 40#include "usb_screen.h"
41#include "skin_engine/skin_engine.h"
41 42
42#ifdef HAVE_LCD_BITMAP 43#ifdef HAVE_LCD_BITMAP
43#include "bitmaps/usblogo.h" 44#include "bitmaps/usblogo.h"
@@ -265,8 +266,11 @@ void gui_usb_screen_run(bool early_usb)
265 /* The font system leaves the .fnt fd's open, so we need for force close them all */ 266 /* The font system leaves the .fnt fd's open, so we need for force close them all */
266#ifdef HAVE_LCD_BITMAP 267#ifdef HAVE_LCD_BITMAP
267 FOR_NB_SCREENS(i) 268 FOR_NB_SCREENS(i)
269 {
268 font_unload(global_status.font_id[i]); 270 font_unload(global_status.font_id[i]);
269 // FIXME skin_font_init(); /* unload all the skin fonts */ 271 global_status.font_id[i] = -1;
272 }
273 skin_unload_all();
270#endif 274#endif
271 } 275 }
272 276