Changeset e5d44f5 for menu/mconf.c


Ignore:
Timestamp:
03/15/2017 09:16:40 AM (7 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, trunk
Children:
39dc04a
Parents:
18567e9
Message:

Add the possibility to install BLFS tools to a running LFS from the jhalfs
menu:

  • Add the possibility to choose BOOK_BLFS from menu. That hides all the irrelevant parameters
  • Adapt install-blfs-tools.sh
  • Change slightly mconf.c so that there is a better alignement in menus
File:
1 edited

Legend:

Unmodified
Added
Removed
  • menu/mconf.c

    r18567e9 re5d44f5  
    474474        struct property *prop;
    475475        struct menu *child;
    476         int type, tmp, doint = 2;
     476/*      int type, tmp, doint = 2; */
     477        int type, doint = 2;
    477478        tristate val;
    478479        char ch;
     
    596597                        default:
    597598                                cprint_tag("s%p", menu);
    598                                 tmp = cprint_name("(%s)", sym_get_string_value(sym));
     599/*                              tmp = cprint_name("(%s)", sym_get_string_value(sym));
    599600                                tmp = indent - tmp + 4;
    600601                                if (tmp < 0)
    601                                         tmp = 0;
    602                                 cprint_name("%*c%s%s", tmp, ' ', menu_get_prompt(menu),
    603                                         (sym_has_value(sym) || !sym_is_changable(sym)) ?
    604                                         "" : " (NEW)");
     602                                        tmp = 0; */
     603                                cprint_name("   %*c%s (%s)%s",
     604                                   indent+1, ' ',
     605                                   menu_get_prompt(menu),
     606                                   sym_get_string_value(sym),
     607                                   (sym_has_value(sym) || !sym_is_changable(sym)) ?
     608                                     "" : " (NEW)");
    605609                                goto conf_childs;
    606610                        }
Note: See TracChangeset for help on using the changeset viewer.