Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 204835
b: refs/heads/master
c: 3fb9acb
h: refs/heads/master
i:
  204833: 4a92f14
  204831: ccdd169
v: v3
  • Loading branch information
Li Zefan authored and Michal Marek committed Jun 2, 2010
1 parent 252d484 commit 893c5f3
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: 70ed074718a6704ac2f82d014f372ba25c42ba12
refs/heads/master: 3fb9acb3297f5e1170f3e45a18cc3f8b1fd1901a
8 changes: 6 additions & 2 deletions trunk/scripts/kconfig/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,13 @@ bool menu_is_visible(struct menu *menu)
if (!sym || sym_get_tristate_value(menu->sym) == no)
return false;

for (child = menu->list; child; child = child->next)
if (menu_is_visible(child))
for (child = menu->list; child; child = child->next) {
if (menu_is_visible(child)) {
if (sym)
sym->flags |= SYMBOL_DEF_USER;
return true;
}
}

return false;
}
Expand Down

0 comments on commit 893c5f3

Please sign in to comment.