X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ui%2Fncurses%2Fgeneric-main.c;h=f253469f18832da67ff44102c6d3f5fbfa2616aa;hb=4e30f260106ac5f7007e213db1d1e54298393290;hp=abf33563a13a10bf5cb82c3fb6a67bfe3a160d72;hpb=494988c501287e03da3becba5c03cbce7c3d9d20;p=petitboot 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, " *");