summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-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 cca2c956b7..886aeaed56 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)
2219 struct skin_font *font = &skinfonts[font_id-FONT_FIRSTUSERFONT]; 2219 struct skin_font *font = &skinfonts[font_id-FONT_FIRSTUSERFONT];
2220 if (!font->name) 2220 if (!font->name)
2221 { 2221 {
2222 DEBUGF("font %d not specified\n", font_id); 2222 if (success)
2223 {
2224 DEBUGF("font %d not specified\n", font_id);
2225 }
2223 success = false; 2226 success = false;
2224 continue; 2227 continue;
2225 } 2228 }
@@ -2238,6 +2241,7 @@ static bool skin_load_fonts(struct wps_data *data)
2238 DEBUGF("Unable to load font %d: '%s.fnt'\n", 2241 DEBUGF("Unable to load font %d: '%s.fnt'\n",
2239 font_id, font->name); 2242 font_id, font->name);
2240 success = false; 2243 success = false;
2244 font->name = NULL;
2241 continue; 2245 continue;
2242 } 2246 }
2243 2247