diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c index 58d9220dc3..394f0a6c03 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -1052,7 +1052,7 @@ bool set_int_ex(const unsigned char* string, | |||
1052 | item.lang_id = -1; | 1052 | item.lang_id = -1; |
1053 | item.cfg_vals = (char*)string; | 1053 | item.cfg_vals = (char*)string; |
1054 | item.setting = (void *)variable; | 1054 | item.setting = (void *)variable; |
1055 | return option_screen(&item, false, NULL); | 1055 | return option_screen(&item, NULL, false, NULL); |
1056 | } | 1056 | } |
1057 | 1057 | ||
1058 | 1058 | ||
@@ -1088,7 +1088,7 @@ bool set_option(const char* string, const void* variable, enum optiontype type, | |||
1088 | temp = *(bool*)variable? 1: 0; | 1088 | temp = *(bool*)variable? 1: 0; |
1089 | else | 1089 | else |
1090 | temp = *(int*)variable; | 1090 | temp = *(int*)variable; |
1091 | if (!option_screen(&item, false, NULL)) | 1091 | if (!option_screen(&item, NULL, false, NULL)) |
1092 | { | 1092 | { |
1093 | if (type == BOOL) | 1093 | if (type == BOOL) |
1094 | *(bool*)variable = (temp == 1? true: false); | 1094 | *(bool*)variable = (temp == 1? true: false); |