summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index cca2c95..886aeae 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -2219,7 +2219,10 @@ static bool skin_load_fonts(struct wps_data *data)
struct skin_font *font = &skinfonts[font_id-FONT_FIRSTUSERFONT];
if (!font->name)
{
- DEBUGF("font %d not specified\n", font_id);
+ if (success)
+ {
+ DEBUGF("font %d not specified\n", font_id);
+ }
success = false;
continue;
}
@@ -2238,6 +2241,7 @@ static bool skin_load_fonts(struct wps_data *data)
DEBUGF("Unable to load font %d: '%s.fnt'\n",
font_id, font->name);
success = false;
+ font->name = NULL;
continue;
}