summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-03-15 07:12:33 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-03-15 07:12:33 +0000
commit1a8f29ca33f9d69237dfcc8d1314f270a8339c2d (patch)
tree7d597e524179df44f4c0927e35b412519131a3e4 /apps
parentba68f2dedd8714d5a6f75dabc5396cb81d7900de (diff)
downloadrockbox-1a8f29ca33f9d69237dfcc8d1314f270a8339c2d.tar.gz
rockbox-1a8f29ca33f9d69237dfcc8d1314f270a8339c2d.tar.bz2
rockbox-1a8f29ca33f9d69237dfcc8d1314f270a8339c2d.zip
fix the remote font not working when there is no .rsbs loaded
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25195 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index d5b1e94741..3973128c88 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -2223,6 +2223,11 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
skin_data_reset(wps_data);
return false;
}
+ if (!skin_load_fonts(wps_data))
+ {
+ skin_data_reset(wps_data);
+ return false;
+ }
#endif
return true;
}