forked from len0rd/rockbox
Text viewer: Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25519 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
76d07bcd20
commit
c3588daa29
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue