summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/option_select.c2
-rw-r--r--apps/gui/yesno.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index 4f446fc8de..3b26ab12d2 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -133,7 +133,7 @@ static char *option_get_valuestring(struct settings_list *setting,
133 133
134static void option_talk(struct settings_list *setting, int temp_var) 134static void option_talk(struct settings_list *setting, int temp_var)
135{ 135{
136 if (!talk_menus_enabled()) 136 if (!global_settings.talk_menu)
137 return; 137 return;
138 if ((setting->flags & F_BOOL_SETTING) == F_BOOL_SETTING) 138 if ((setting->flags & F_BOOL_SETTING) == F_BOOL_SETTING)
139 { 139 {
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c
index 7c8afb3245..4e86b017ca 100644
--- a/apps/gui/yesno.c
+++ b/apps/gui/yesno.c
@@ -145,7 +145,7 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
145 while (result==-1) 145 while (result==-1)
146 { 146 {
147 /* Repeat the question every 5secs (more or less) */ 147 /* Repeat the question every 5secs (more or less) */
148 if (talk_menus_enabled() 148 if (global_settings.talk_menu
149 && (talked_tick==0 || TIME_AFTER(current_tick, talked_tick+HZ*5))) 149 && (talked_tick==0 || TIME_AFTER(current_tick, talked_tick+HZ*5)))
150 { 150 {
151 talked_tick = current_tick; 151 talked_tick = current_tick;
@@ -175,7 +175,7 @@ enum yesno_res gui_syncyesno_run(struct text_message * main_message,
175 FOR_NB_SCREENS(i) 175 FOR_NB_SCREENS(i)
176 result_displayed=gui_yesno_draw_result(&(yn[i]), result); 176 result_displayed=gui_yesno_draw_result(&(yn[i]), result);
177 177
178 if (talk_menus_enabled()) 178 if (global_settings.talk_menu)
179 { 179 {
180 talk_idarray(voice_ids, false); 180 talk_idarray(voice_ids, false);
181 talk_force_enqueue_next(); 181 talk_force_enqueue_next();