Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204844
b: refs/heads/master
c: 60c8eca
h: refs/heads/master
v: v3
  • Loading branch information
Justin P. Mattock authored and Michal Marek committed Jun 11, 2010
1 parent 0bfc6f7 commit db990dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7401d8321f89a3785a395ba307c720e2b390f96
refs/heads/master: 60c8eca69f7fb2820677a635d921866f66727fcb
4 changes: 0 additions & 4 deletions trunk/scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,12 @@ static int conf_string(struct menu *menu)
static int conf_sym(struct menu *menu)
{
struct symbol *sym = menu->sym;
int type;
tristate oldval, newval;

while (1) {
printf("%*s%s ", indent - 1, "", _(menu->prompt->text));
if (sym->name)
printf("(%s) ", sym->name);
type = sym_get_type(sym);
putchar('[');
oldval = sym_get_tristate_value(sym);
switch (oldval) {
Expand Down Expand Up @@ -235,11 +233,9 @@ static int conf_choice(struct menu *menu)
{
struct symbol *sym, *def_sym;
struct menu *child;
int type;
bool is_new;

sym = menu->sym;
type = sym_get_type(sym);
is_new = !sym_has_value(sym);
if (sym_is_changable(sym)) {
conf_sym(menu);
Expand Down

0 comments on commit db990dd

Please sign in to comment.