ui/ncurses: Use a separate type for help text
[petitboot] / ui / ncurses / nc-cui.c
index 96d82cac21aa184d90c81c3c5a2c95866ed73300..cd7952f860545e90cdf1245035b0b7b69868a57a 100644 (file)
@@ -270,7 +270,8 @@ static void cui_help_exit(struct cui *cui)
        cui->help_screen = NULL;
 }
 
-void cui_show_help(struct cui *cui, const char *title, const char *text)
+void cui_show_help(struct cui *cui, const char *title,
+               const struct help_text *text)
 {
        if (!cui->current)
                return;