Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 227668
b: refs/heads/master
c: 39177ec
h: refs/heads/master
v: v3
  • Loading branch information
Peter Korsgaard authored and Michal Marek committed Jan 7, 2011
1 parent c8e2209 commit 45d26d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 0597fcd08b858df83b9f20afd6035311d92c48f8
refs/heads/master: 39177ec36236fb71257e51d0d198437b84170911
8 changes: 6 additions & 2 deletions trunk/scripts/kconfig/nconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1266,9 +1266,13 @@ static void conf_choice(struct menu *menu)
if (child->sym == sym_get_choice_value(menu->sym))
item_make(child, ':', "<X> %s",
_(menu_get_prompt(child)));
else
else if (child->sym)
item_make(child, ':', " %s",
_(menu_get_prompt(child)));
else
item_make(child, ':', "*** %s ***",
_(menu_get_prompt(child)));

if (child->sym == active){
last_top_row = top_row(curses_menu);
selected_index = i;
Expand Down Expand Up @@ -1334,7 +1338,7 @@ static void conf_choice(struct menu *menu)
break;

child = item_data();
if (!child || !menu_is_visible(child))
if (!child || !menu_is_visible(child) || !child->sym)
continue;
switch (res) {
case ' ':
Expand Down

0 comments on commit 45d26d1

Please sign in to comment.