X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ui%2Fncurses%2Fnc-config.c;h=a09535371c7131d1f09e19457ecfee2fb2cbef77;hb=76435cb23ccab4489fe59c2b5cdcd06ac9752c12;hp=54eb7ac5740d891bd32c6a7bcc57655cbf19bc8a;hpb=494988c501287e03da3becba5c03cbce7c3d9d20;p=petitboot diff --git a/ui/ncurses/nc-config.c b/ui/ncurses/nc-config.c index 54eb7ac..a095353 100644 --- a/ui/ncurses/nc-config.c +++ b/ui/ncurses/nc-config.c @@ -35,7 +35,7 @@ #define N_FIELDS 25 -extern const char *config_help_text; +extern struct help_text config_help_text; enum autoboot_type { AUTOBOOT_ANY, @@ -146,7 +146,7 @@ static void config_screen_process_key(struct nc_scr *scr, int key) } else if (screen->show_help) { screen->show_help = false; cui_show_help(screen->cui, _("System Configuration"), - config_help_text); + &config_help_text); } else if (handled) { pad_refresh(screen);