summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ncurses/nc-config.c')
-rw-r--r--ui/ncurses/nc-config.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud