From fe9dca3d5b6156b85f1085ecc11ba8e3a1dcd2d7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 23 Apr 2008 11:07:40 +0000 Subject: option_screen() now accepts a viewport git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17223 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 58d9220..394f0a6 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -1052,7 +1052,7 @@ bool set_int_ex(const unsigned char* string, item.lang_id = -1; item.cfg_vals = (char*)string; item.setting = (void *)variable; - return option_screen(&item, false, NULL); + return option_screen(&item, NULL, false, NULL); } @@ -1088,7 +1088,7 @@ bool set_option(const char* string, const void* variable, enum optiontype type, temp = *(bool*)variable? 1: 0; else temp = *(int*)variable; - if (!option_screen(&item, false, NULL)) + if (!option_screen(&item, NULL, false, NULL)) { if (type == BOOL) *(bool*)variable = (temp == 1? true: false); -- cgit v1.1