forked from len0rd/rockbox
Invert is a boolean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3357 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6da56d9f08
commit
98a9198a49
1 changed files with 3 additions and 4 deletions
|
|
@ -53,11 +53,10 @@ static bool contrast(void)
|
||||||
|
|
||||||
static bool invert(void)
|
static bool invert(void)
|
||||||
{
|
{
|
||||||
char* names[] = { str(LANG_SET_BOOL_NO),
|
bool rc = set_bool( str(LANG_INVERT), &global_settings.invert);
|
||||||
str(LANG_SET_BOOL_YES) };
|
lcd_set_invert_display(global_settings.invert);
|
||||||
|
|
||||||
return set_option( str(LANG_INVERT), &global_settings.invert,
|
return rc;
|
||||||
names, 2, lcd_set_invert_display );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue