diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-14 06:26:16 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-14 06:26:16 +0000 |
commit | 1c2aa35371aed8d895b3448dad865b913da57cfb (patch) | |
tree | 8a790ad8efe5d0abd73eaf77adc854d336ce0ef4 /firmware/powermgmt.c | |
parent | ed21ab1c8c9b16ec62933313c3d36a93d9255f62 (diff) | |
download | rockbox-1c2aa35371aed8d895b3448dad865b913da57cfb.tar.gz rockbox-1c2aa35371aed8d895b3448dad865b913da57cfb.zip |
FS#10984 - multifont! 2 major additions:
1) seperate UI font for the remote and main displays
2) allow individual skins to load additional fonts for use in the skin (Uo to 7 extra in this first version) see CustomWPS for info on how to load a font in the skins.
Code should always use FONT_UI+screen_number to get the correct user font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24644 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 5f488810ac..3f2b3c0f85 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -744,7 +744,7 @@ void shutdown_hw(void) | |||
744 | 744 | ||
745 | if (battery_level_safe()) { /* do not save on critical battery */ | 745 | if (battery_level_safe()) { /* do not save on critical battery */ |
746 | #ifdef HAVE_LCD_BITMAP | 746 | #ifdef HAVE_LCD_BITMAP |
747 | glyph_cache_save(); | 747 | glyph_cache_save(NULL); |
748 | #endif | 748 | #endif |
749 | 749 | ||
750 | /* Commit pending writes if needed. Even though we don't do write caching, | 750 | /* Commit pending writes if needed. Even though we don't do write caching, |