summaryrefslogtreecommitdiff
path: root/scripts/kconfig/lxdialog/lxdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/lxdialog/lxdialog.c')
-rw-r--r--scripts/kconfig/lxdialog/lxdialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/kconfig/lxdialog/lxdialog.c b/scripts/kconfig/lxdialog/lxdialog.c
index 79f6c5fb5cef..c264e024309e 100644
--- a/scripts/kconfig/lxdialog/lxdialog.c
+++ b/scripts/kconfig/lxdialog/lxdialog.c
@@ -78,11 +78,11 @@ int main(int argc, const char *const *argv)
offset += 2;
}
} else if (!strcmp(argv[offset + 1], "--backtitle")) {
- if (backtitle != NULL) {
+ if (dlg.backtitle != NULL) {
Usage(argv[0]);
exit(-1);
} else {
- backtitle = argv[offset + 2];
+ dlg.backtitle = argv[offset + 2];
offset += 2;
}
} else if (!strcmp(argv[offset + 1], "--clear")) {
@@ -123,7 +123,7 @@ int main(int argc, const char *const *argv)
retval = (*(modePtr->jumper)) (title, argc - offset, argv + offset);
if (opt_clear) { /* clear screen before exit */
- attr_clear(stdscr, LINES, COLS, screen_attr);
+ attr_clear(stdscr, LINES, COLS, dlg.screen.atr);
refresh();
}
end_dialog();