diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-02-27 15:15:37 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-02-27 15:15:37 +0000 |
commit | 98a9198a498e266ce8a943dce226de5cbef037dc (patch) | |
tree | c27bc957e53277aa7b34708e530508771e78af44 /apps | |
parent | 6da56d9f089743570dacaa52e3ce12338d339ca0 (diff) |
Invert is a boolean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3357 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/settings_menu.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index d82053caa9..f210d79a96 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -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; } /** |