1
0
Fork 0
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:
Björn Stenberg 2003-02-27 15:15:37 +00:00
parent 6da56d9f08
commit 98a9198a49

View file

@ -53,11 +53,10 @@ static bool contrast(void)
static bool invert(void)
{
char* names[] = { str(LANG_SET_BOOL_NO),
str(LANG_SET_BOOL_YES) };
bool rc = set_bool( str(LANG_INVERT), &global_settings.invert);
lcd_set_invert_display(global_settings.invert);
return set_option( str(LANG_INVERT), &global_settings.invert,
names, 2, lcd_set_invert_display );
return rc;
}
/**