summaryrefslogtreecommitdiffstats
path: root/package/config/menu.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:43 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:43 +0000
commit1b6f2e0f4c8445100f1ea6bea5b89db15dba0175 (patch)
tree47203e44f22361896d63103608f32c2d8ba87e13 /package/config/menu.c
parent2c2796719afce7b7a64fa1dd0bec736b10e371da (diff)
downloadbuildroot-novena-1b6f2e0f4c8445100f1ea6bea5b89db15dba0175.tar.gz
buildroot-novena-1b6f2e0f4c8445100f1ea6bea5b89db15dba0175.zip
package/config: rebase from upstream (2.6.23.14)
From Bernhards tree (2737cfdd)
Diffstat (limited to 'package/config/menu.c')
-rw-r--r--package/config/menu.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/config/menu.c b/package/config/menu.c
index f14aeac67..f9d0d91a3 100644
--- a/package/config/menu.c
+++ b/package/config/menu.c
@@ -417,3 +417,15 @@ struct menu *menu_get_parent_menu(struct menu *menu)
return menu;
}
+bool menu_has_help(struct menu *menu)
+{
+ return menu->help != NULL;
+}
+
+const char *menu_get_help(struct menu *menu)
+{
+ if (menu->help)
+ return menu->help;
+ else
+ return "";
+}