From 98a9198a498e266ce8a943dce226de5cbef037dc Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 27 Feb 2003 15:15:37 +0000 Subject: Invert is a boolean git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3357 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 7 +++---- 1 file 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; } /** -- cgit v1.2.3