summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-02-27 15:15:37 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-02-27 15:15:37 +0000
commit98a9198a498e266ce8a943dce226de5cbef037dc (patch)
treec27bc957e53277aa7b34708e530508771e78af44
parent6da56d9f089743570dacaa52e3ce12338d339ca0 (diff)
downloadrockbox-98a9198a498e266ce8a943dce226de5cbef037dc.tar.gz
rockbox-98a9198a498e266ce8a943dce226de5cbef037dc.zip
Invert is a boolean
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3357 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings_menu.c7
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)
53 53
54static bool invert(void) 54static bool invert(void)
55{ 55{
56 char* names[] = { str(LANG_SET_BOOL_NO), 56 bool rc = set_bool( str(LANG_INVERT), &global_settings.invert);
57 str(LANG_SET_BOOL_YES) }; 57 lcd_set_invert_display(global_settings.invert);
58 58
59 return set_option( str(LANG_INVERT), &global_settings.invert, 59 return rc;
60 names, 2, lcd_set_invert_display );
61} 60}
62 61
63/** 62/**