diff options
author | jkh <jkh@FreeBSD.org> | 1996-04-25 17:27:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-04-25 17:27:18 +0000 |
commit | bd013f51f73fe7618393e72f501e20ecd6f63f56 (patch) | |
tree | e822bdc6b2c8959905289166ed025fc7688ac007 /gnu/lib/libdialog/checklist.c | |
parent | 46774261d1898c39c2883cb9d872302cbeb265b3 (diff) | |
download | FreeBSD-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.c | 11 |
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; |