X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-config.c;h=a09535371c7131d1f09e19457ecfee2fb2cbef77;hp=54eb7ac5740d891bd32c6a7bcc57655cbf19bc8a;hb=4e30f260106ac5f7007e213db1d1e54298393290;hpb=494988c501287e03da3becba5c03cbce7c3d9d20 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);