diff options
author | phk <phk@FreeBSD.org> | 1994-11-05 03:13:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1994-11-05 03:13:33 +0000 |
commit | 2f7789168ba42cde29e4929ef2d32cf181b0eb35 (patch) | |
tree | 391017818dee3e49963f515320804f422db898b6 | |
parent | 7b1ac038f546b02bc93f2510bc0b5543c8c0b997 (diff) | |
download | FreeBSD-src-2f7789168ba42cde29e4929ef2d32cf181b0eb35.zip FreeBSD-src-2f7789168ba42cde29e4929ef2d32cf181b0eb35.tar.gz |
Fixed a ghastly mistake. Edit_line() would "delwin(window)". Bad move
buddy, you'd better not call with stdwin then! fixed now.
Seems like dialog is a LOT more rational now.
-rw-r--r-- | sbin/sysinstall/ourcurses.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/sysinstall/ourcurses.c b/sbin/sysinstall/ourcurses.c index b542d9c..d85b046 100644 --- a/sbin/sysinstall/ourcurses.c +++ b/sbin/sysinstall/ourcurses.c @@ -152,10 +152,8 @@ edit_line(WINDOW *window, int y, int x, char *field, int width, int maxlen) else waddch(window, ' '); wmove(window, y, x + curpos); - wrefresh(window); field[len] = 0; - delwin(window); - refresh(); + wrefresh(window); return (key); } |