summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 390782ca6d..2077273e66 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -1688,7 +1688,7 @@ static bool change_font(unsigned char *font)
1688 unsigned char buf[MAX_PATH]; 1688 unsigned char buf[MAX_PATH];
1689 1689
1690 if (font == NULL || *font == '\0') 1690 if (font == NULL || *font == '\0')
1691 return; 1691 return false;
1692 1692
1693 rb->snprintf(buf, MAX_PATH, "%s/%s.fnt", FONT_DIR, font); 1693 rb->snprintf(buf, MAX_PATH, "%s/%s.fnt", FONT_DIR, font);
1694 if (rb->font_load(NULL, buf) < 0) { 1694 if (rb->font_load(NULL, buf) < 0) {
@@ -1700,7 +1700,7 @@ static bool change_font(unsigned char *font)
1700 return true; 1700 return true;
1701} 1701}
1702 1702
1703static void revert_font() 1703static void revert_font(void)
1704{ 1704{
1705 if (rb->strcmp(prefs.font, rb->global_settings->font_file)) 1705 if (rb->strcmp(prefs.font, rb->global_settings->font_file))
1706 change_font(rb->global_settings->font_file); 1706 change_font(rb->global_settings->font_file);