summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libdialog/checklist.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-25 17:27:18 +0000
committerjkh <jkh@FreeBSD.org>1996-04-25 17:27:18 +0000
commitbd013f51f73fe7618393e72f501e20ecd6f63f56 (patch)
treee822bdc6b2c8959905289166ed025fc7688ac007 /gnu/lib/libdialog/checklist.c
parent46774261d1898c39c2883cb9d872302cbeb265b3 (diff)
downloadFreeBSD-src-bd013f51f73fe7618393e72f501e20ecd6f63f56.zip
FreeBSD-src-bd013f51f73fe7618393e72f501e20ecd6f63f56.tar.gz
More custom hackery to deal with issues discovered in sysinstall.
Diffstat (limited to 'gnu/lib/libdialog/checklist.c')
-rw-r--r--gnu/lib/libdialog/checklist.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/lib/libdialog/checklist.c b/gnu/lib/libdialog/checklist.c
index 7714d38..bd88057 100644
--- a/gnu/lib/libdialog/checklist.c
+++ b/gnu/lib/libdialog/checklist.c
@@ -333,18 +333,17 @@ draw:
cur_x, cur_y);
wrefresh(dialog);
}
- else if (st & DITEM_RECREATE) {
- delwin(save);
- delwin(list);
- delwin(dialog);
- goto draw;
- }
delwin(save);
if (st & DITEM_LEAVE_MENU) {
/* Allow a fire action to take us out of the menu */
key = ESC;
break;
}
+ else if (st & DITEM_RECREATE) {
+ delwin(list);
+ delwin(dialog);
+ goto draw;
+ }
}
status[scroll + choice] = ditems[scroll + choice].checked ?
ditems[scroll + choice].checked(&ditems[scroll + choice]) : FALSE;
OpenPOWER on IntegriCloud