X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-boot-editor.c;h=6da36302f49641ba52c666c7fb75071b0088d3d5;hp=6bc1d89169b166da53a2eb502ffe12f1545665d5;hb=4e30f260106ac5f7007e213db1d1e54298393290;hpb=494988c501287e03da3becba5c03cbce7c3d9d20 diff --git a/ui/ncurses/nc-boot-editor.c b/ui/ncurses/nc-boot-editor.c index 6bc1d89..6da3630 100644 --- a/ui/ncurses/nc-boot-editor.c +++ b/ui/ncurses/nc-boot-editor.c @@ -73,7 +73,7 @@ struct boot_editor { char *args; }; -extern const char *boot_editor_help_text; +extern const struct help_text boot_editor_help_text; static struct boot_editor *boot_editor_from_scr(struct nc_scr *scr) { @@ -222,7 +222,7 @@ static void boot_editor_process_key(struct nc_scr *scr, int key) case STATE_HELP: boot_editor->state = STATE_EDIT; cui_show_help(boot_editor->cui, _("Boot Option Editor"), - boot_editor_help_text); + &boot_editor_help_text); break; default: break;