summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 4c1f8afc3b..31d9232851 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1390,7 +1390,7 @@ bool set_int(char* string,
1390 code. */ 1390 code. */
1391 1391
1392bool set_option(char* string, void* variable, enum optiontype type, 1392bool set_option(char* string, void* variable, enum optiontype type,
1393 struct opt_items* options, int numoptions, void (*function)(int)) 1393 const struct opt_items* options, int numoptions, void (*function)(int))
1394{ 1394{
1395 bool done = false; 1395 bool done = false;
1396 int button; 1396 int button;
@@ -1416,7 +1416,7 @@ bool set_option(char* string, void* variable, enum optiontype type,
1416 1416
1417 while ( !done ) { 1417 while ( !done ) {
1418 index = type==INT ? *intvar : (int)*boolvar; 1418 index = type==INT ? *intvar : (int)*boolvar;
1419 lcd_puts(0, 1, options[index].string); 1419 lcd_puts(0, 1, P2STR(options[index].string));
1420 if (global_settings.talk_menu && index != oldindex) 1420 if (global_settings.talk_menu && index != oldindex)
1421 { 1421 {
1422 talk_id(options[index].voice_id, false); 1422 talk_id(options[index].voice_id, false);