diff options
author | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-17 11:27:29 +0000 |
---|---|---|
committer | Yoshihisa Uchida <uchida@rockbox.org> | 2010-03-17 11:27:29 +0000 |
commit | 7231bdf5e2bb7919c5fcec092f7ca9e505e2b215 (patch) | |
tree | b4a6d34069623105d0c2bbee4a91ff7ceb8150ef | |
parent | 4e8f200db93d9516d3ada7b4701488fe2621b0c7 (diff) | |
download | rockbox-7231bdf5e2bb7919c5fcec092f7ca9e505e2b215.tar.gz rockbox-7231bdf5e2bb7919c5fcec092f7ca9e505e2b215.zip |
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25234 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/viewer.c | 4 |
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: | |||
2085 | start_position = file_pos + screen_top_ptr - buffer; | 2085 | start_position = file_pos + screen_top_ptr - buffer; |
2086 | 2086 | ||
2087 | #ifdef HAVE_LCD_BITMAP | 2087 | #ifdef HAVE_LCD_BITMAP |
2088 | if (strcmp(prefs.font, rb->global_settings->font_file)) | 2088 | if (rb->strcmp(prefs.font, rb->global_settings->font_file)) |
2089 | change_font(prefs.font); | 2089 | change_font(prefs.font); |
2090 | 2090 | ||
2091 | init_need_scrollbar(); | 2091 | init_need_scrollbar(); |
@@ -2260,7 +2260,7 @@ static void viewer_exit(void *parameter) | |||
2260 | 2260 | ||
2261 | rb->close(fd); | 2261 | rb->close(fd); |
2262 | #ifdef HAVE_LCD_BITMAP | 2262 | #ifdef HAVE_LCD_BITMAP |
2263 | if (strcmp(prefs.font, rb->global_settings->font_file)) | 2263 | if (rb->strcmp(prefs.font, rb->global_settings->font_file)) |
2264 | change_font(rb->global_settings->font_file); | 2264 | change_font(rb->global_settings->font_file); |
2265 | #endif | 2265 | #endif |
2266 | } | 2266 | } |