summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/generic-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/generic-main.c')
-rw-r--r--ui/ncurses/generic-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/generic-main.c b/ui/ncurses/generic-main.c
index abf3356..f253469 100644
--- a/ui/ncurses/generic-main.c
+++ b/ui/ncurses/generic-main.c
@@ -40,7 +40,7 @@
#include "ui/common/discover-client.h"
#include "nc-cui.h"
-extern const char *main_menu_help_text;
+extern const struct help_text main_menu_help_text;
static void print_version(void)
{
@@ -234,7 +234,7 @@ static struct pmenu *pb_mm_init(struct pb_cui *pb_cui)
}
m->help_title = _("main menu");
- m->help_text = main_menu_help_text;
+ m->help_text = &main_menu_help_text;
menu_opts_off(m->ncm, O_SHOWDESC);
set_menu_mark(m->ncm, " *");
OpenPOWER on IntegriCloud