aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sade/dispatch.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-12-14 04:25:29 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-12-14 04:25:29 +0000
commit7025aeb16e091cf9515535424d0532b53c618b83 (patch)
treea4fa2148685a8fd9c12ca7648603d5499e521f49 /usr.sbin/sade/dispatch.c
parent34fa0973611c929a22ea016ed691c4e152ba0054 (diff)
downloadsrc-7025aeb16e091cf9515535424d0532b53c618b83.tar.gz
src-7025aeb16e091cf9515535424d0532b53c618b83.zip
Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic, keyboard accelerators. This requires my recent update to libdialog to work properly and will probably also exhibit some other "interesting" behavior while the last few missing screen clears are found (which is why I'm not going to MFC immediately). At least now, however, sysinstall does not gratuitously redraw random screens at the drop of a hat and drive serial console installers out of their minds.
Notes
Notes: svn path=/head/; revision=54587
Diffstat (limited to 'usr.sbin/sade/dispatch.c')
-rw-r--r--usr.sbin/sade/dispatch.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/sade/dispatch.c b/usr.sbin/sade/dispatch.c
index 3090a2782adc..15c6c27424c3 100644
--- a/usr.sbin/sade/dispatch.c
+++ b/usr.sbin/sade/dispatch.c
@@ -381,15 +381,13 @@ dispatch_load_file(dialogMenuItem *self)
int
dispatch_load_floppy(dialogMenuItem *self)
{
- int what = DITEM_RESTORE | DITEM_SUCCESS;
+ int what = DITEM_SUCCESS;
extern char *distWanted;
char *cp;
FILE *fp;
qelement *list;
mediaClose();
- dialog_clear_norefresh();
-
cp = variable_get_value(VAR_INSTALL_CFG,
"Specify the name of a configuration file\n"
"residing on a MSDOS or UFS floppy.", 0);
@@ -430,7 +428,6 @@ dispatch_load_floppy(dialogMenuItem *self)
what |= DITEM_FAILURE;
mediaClose();
}
-
return what;
}