summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihisa Uchida <uchida@rockbox.org>2010-03-17 11:27:29 +0000
committerYoshihisa Uchida <uchida@rockbox.org>2010-03-17 11:27:29 +0000
commit7231bdf5e2bb7919c5fcec092f7ca9e505e2b215 (patch)
treeb4a6d34069623105d0c2bbee4a91ff7ceb8150ef
parent4e8f200db93d9516d3ada7b4701488fe2621b0c7 (diff)
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25234 a1c6a512-1295-4272-9138-f99709370657
-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 0901be427b..a0dd10eed3 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -2085,7 +2085,7 @@ read_end:
start_position = file_pos + screen_top_ptr - buffer;
#ifdef HAVE_LCD_BITMAP
- if (strcmp(prefs.font, rb->global_settings->font_file))
+ if (rb->strcmp(prefs.font, rb->global_settings->font_file))
change_font(prefs.font);
init_need_scrollbar();
@@ -2260,7 +2260,7 @@ static void viewer_exit(void *parameter)
rb->close(fd);
#ifdef HAVE_LCD_BITMAP
- if (strcmp(prefs.font, rb->global_settings->font_file))
+ if (rb->strcmp(prefs.font, rb->global_settings->font_file))
change_font(rb->global_settings->font_file);
#endif
}