|
@@ -424,7 +424,7 @@ static void check_conf(struct menu *menu)
|
|
|
if (sym->name && !sym_is_choice_value(sym)) {
|
|
|
printf("%s%s\n", CONFIG_, sym->name);
|
|
|
}
|
|
|
- } else if (input_mode != olddefconfig) {
|
|
|
+ } else {
|
|
|
if (!conf_cnt++)
|
|
|
printf(_("*\n* Restart config...\n*\n"));
|
|
|
rootEntry = menu_get_parent_menu(menu);
|
|
@@ -666,15 +666,15 @@ int main(int ac, char **av)
|
|
|
/* fall through */
|
|
|
case oldconfig:
|
|
|
case listnewconfig:
|
|
|
- case olddefconfig:
|
|
|
case silentoldconfig:
|
|
|
/* Update until a loop caused no more changes */
|
|
|
do {
|
|
|
conf_cnt = 0;
|
|
|
check_conf(&rootmenu);
|
|
|
- } while (conf_cnt &&
|
|
|
- (input_mode != listnewconfig &&
|
|
|
- input_mode != olddefconfig));
|
|
|
+ } while (conf_cnt && input_mode != listnewconfig);
|
|
|
+ break;
|
|
|
+ case olddefconfig:
|
|
|
+ default:
|
|
|
break;
|
|
|
}
|
|
|
|