X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fconf.c;h=c4bc255a95d5232b0249e63d99a529da2064ed9d;hb=61a529271314a6ed34ebaf1baa3aadf98769a52d;hp=0da602a422d23e731a5b80e9ae509eeefd4382ed;hpb=95175f620aab51399c3a128f1a086105e728f1c0;p=carl9170fw.git diff --git a/config/conf.c b/config/conf.c index 0da602a..c4bc255 100644 --- a/config/conf.c +++ b/config/conf.c @@ -354,8 +354,11 @@ static void conf(struct menu *menu) switch (prop->type) { case P_MENU: - if (input_mode == listnewconfig) && - rootEntry != menu) { + /* + * Except in oldaskconfig mode, we show only menus that + * contain new symbols. + */ + if (input_mode != oldaskconfig && rootEntry != menu) { check_conf(menu); return; } @@ -629,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; }