forked from len0rd/rockbox
fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25234 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4e8f200db9
commit
7231bdf5e2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue