check_conf() never increments conf_cnt for listnewconfig, so conf_cnt is always zero. In other words, conf_cnt is not zero, "input_mode != listnewconfig" is met.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -669,7 +669,7 @@ int main(int ac, char **av) · 668 unmodified lines | |||
| 669 | do { | 669 | do { |
| 670 | conf_cnt = 0; | 670 | conf_cnt = 0; |
| 671 | check_conf(&rootmenu); | 671 | check_conf(&rootmenu); |
| 672 | } while (conf_cnt && input_mode != listnewconfig); | 672 | } while (conf_cnt); |
| 673 | break; | 673 | break; |
| 674 | case olddefconfig: | 674 | case olddefconfig: |
| 675 | default: | 675 | default: |