summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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 390782c..2077273 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -1688,7 +1688,7 @@ static bool change_font(unsigned char *font)
unsigned char buf[MAX_PATH];
if (font == NULL || *font == '\0')
- return;
+ return false;
rb->snprintf(buf, MAX_PATH, "%s/%s.fnt", FONT_DIR, font);
if (rb->font_load(NULL, buf) < 0) {
@@ -1700,7 +1700,7 @@ static bool change_font(unsigned char *font)
return true;
}
-static void revert_font()
+static void revert_font(void)
{
if (rb->strcmp(prefs.font, rb->global_settings->font_file))
change_font(rb->global_settings->font_file);