summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorFred Bauer <fred.w.bauer@gmail.com>2011-11-20 18:03:39 +0000
committerFred Bauer <fred.w.bauer@gmail.com>2011-11-20 18:03:39 +0000
commitbccee8900242d089e4e2c819725cd64b308b0157 (patch)
tree34369d02757b3270636360a49de5f69d32953468 /apps
parent8a7482dd89e604baa99021ed2e52dc0c1c992da5 (diff)
Update filetree.c to use global_settings.glyphs_to_cache
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31035 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/filetree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index d33b823fc0..aa527e017f 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -427,7 +427,8 @@ static void ft_load_font(char *file)
current_font_id = screens[screen].getuifont();
if (current_font_id >= 0)
font_unload(current_font_id);
- screens[screen].setuifont(font_load(file));
+ screens[screen].setuifont(
+ font_load_ex(file,0,global_settings.glyphs_to_cache));
viewportmanager_theme_changed(THEME_UI_VIEWPORT);
}
#endif