X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;ds=sidebyside;f=config%2Fconf.c;h=c4bc255a95d5232b0249e63d99a529da2064ed9d;hb=06469ce5c1166d9da39eaa9bb1cda68190a20ed3;hp=0d21a01122f7a70078fde40bb66cdae3ef03689d;hpb=2e9de4821d4aa774d999a0d217159d33ea7b6517;p=carl9170fw.git diff --git a/config/conf.c b/config/conf.c index 0d21a01..c4bc255 100644 --- a/config/conf.c +++ b/config/conf.c @@ -354,9 +354,11 @@ static void conf(struct menu *menu) switch (prop->type) { case P_MENU: - if ((input_mode == listnewconfig || - input_mode == oldnoconfig) && - rootEntry != menu) { + /* + * Except in oldaskconfig mode, we show only menus that + * contain new symbols. + */ + if (input_mode != oldaskconfig && rootEntry != menu) { check_conf(menu); return; } @@ -630,7 +632,7 @@ int main(int ac, char **av) do { conf_cnt = 0; check_conf(&rootmenu); - } while (conf_cnt && input_mode != listnewconfig); + } while (conf_cnt); break; }