diff options
Diffstat (limited to 'apps/settings.c')
-rw-r--r-- | apps/settings.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/settings.c b/apps/settings.c index 0b2f2d9d40..57db619d72 100644 --- a/apps/settings.c +++ b/apps/settings.c | |||
@@ -596,15 +596,15 @@ bool settings_save_config(int options) | |||
596 | break; | 596 | break; |
597 | } | 597 | } |
598 | else { | 598 | else { |
599 | gui_syncsplash(HZ, true, str(LANG_MENU_SETTING_CANCEL)); | 599 | gui_syncsplash(HZ, str(LANG_MENU_SETTING_CANCEL)); |
600 | return false; | 600 | return false; |
601 | } | 601 | } |
602 | } | 602 | } |
603 | 603 | ||
604 | if (settings_write_config(filename, options)) | 604 | if (settings_write_config(filename, options)) |
605 | gui_syncsplash(HZ, true, str(LANG_SETTINGS_SAVED)); | 605 | gui_syncsplash(HZ, str(LANG_SETTINGS_SAVED)); |
606 | else | 606 | else |
607 | gui_syncsplash(HZ, true, str(LANG_FAILED)); | 607 | gui_syncsplash(HZ, str(LANG_FAILED)); |
608 | return true; | 608 | return true; |
609 | } | 609 | } |
610 | 610 | ||
@@ -1142,7 +1142,7 @@ static bool do_set_setting(const unsigned char* string, void *variable, | |||
1142 | { | 1142 | { |
1143 | if (*(int*)variable != oldvalue) | 1143 | if (*(int*)variable != oldvalue) |
1144 | { | 1144 | { |
1145 | gui_syncsplash(HZ/2,true,str(LANG_MENU_SETTING_CANCEL)); | 1145 | gui_syncsplash(HZ/2, str(LANG_MENU_SETTING_CANCEL)); |
1146 | *(int*)variable = oldvalue; | 1146 | *(int*)variable = oldvalue; |
1147 | } | 1147 | } |
1148 | } | 1148 | } |
@@ -1150,7 +1150,7 @@ static bool do_set_setting(const unsigned char* string, void *variable, | |||
1150 | { | 1150 | { |
1151 | if (*(bool*)variable != (bool)oldvalue) | 1151 | if (*(bool*)variable != (bool)oldvalue) |
1152 | { | 1152 | { |
1153 | gui_syncsplash(HZ/2,true,str(LANG_MENU_SETTING_CANCEL)); | 1153 | gui_syncsplash(HZ/2, str(LANG_MENU_SETTING_CANCEL)); |
1154 | *(bool*)variable = (bool)oldvalue; | 1154 | *(bool*)variable = (bool)oldvalue; |
1155 | } | 1155 | } |
1156 | } | 1156 | } |