summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/settings.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 4babe33cdb..47849cb1ce 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -820,7 +820,8 @@ void settings_apply(bool read_disk)
if ( global_settings.font_file[0]) {
snprintf(buf, sizeof buf, FONT_DIR "/%s.fnt",
global_settings.font_file);
- font_load(buf);
+ if (font_load(buf) == NULL)
+ font_reset();
}
else
font_reset();