diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-14 04:25:29 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-14 04:25:29 +0000 |
| commit | 7025aeb16e091cf9515535424d0532b53c618b83 (patch) | |
| tree | a4fa2148685a8fd9c12ca7648603d5499e521f49 /usr.sbin/sysinstall/options.c | |
| parent | 34fa0973611c929a22ea016ed691c4e152ba0054 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall/options.c')
| -rw-r--r-- | usr.sbin/sysinstall/options.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/options.c b/usr.sbin/sysinstall/options.c index 469841d3ab2f..6113e12252ac 100644 --- a/usr.sbin/sysinstall/options.c +++ b/usr.sbin/sysinstall/options.c @@ -215,7 +215,8 @@ optionsEditor(dialogMenuItem *self) { int i, optcol, optrow, key; static int currOpt = 0; - + WINDOW *w = savescr(); + dialog_clear_norefresh(); clear(); @@ -299,13 +300,14 @@ optionsEditor(dialogMenuItem *self) case 'Q': clear(); dialog_clear(); - return DITEM_SUCCESS | DITEM_RESTORE; + restorescr(w); + return DITEM_SUCCESS; default: beep(); } } /* NOTREACHED */ - return DITEM_SUCCESS | DITEM_RESTORE; + return DITEM_SUCCESS; } |
