summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/dmenu.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-17 14:40:00 +0000
committerjkh <jkh@FreeBSD.org>1995-05-17 14:40:00 +0000
commit51db685ce5136b113343b379f9e1ff5110ce2097 (patch)
tree3c4b835b80329341731037a431c9a5964fa0a92e /release/sysinstall/dmenu.c
parent795504cd3724527d413d54f657c8c077ca836b59 (diff)
downloadFreeBSD-src-51db685ce5136b113343b379f9e1ff5110ce2097.zip
FreeBSD-src-51db685ce5136b113343b379f9e1ff5110ce2097.tar.gz
Commit my latest so that Gary can sync up - this version should also
be the grounds for our first round of testing in the release I'm rolling. It doesn't load the distributions yet, but it should do everything else.
Diffstat (limited to 'release/sysinstall/dmenu.c')
-rw-r--r--release/sysinstall/dmenu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/release/sysinstall/dmenu.c b/release/sysinstall/dmenu.c
index d10167c..457518e 100644
--- a/release/sysinstall/dmenu.c
+++ b/release/sysinstall/dmenu.c
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated for what's essentially a complete rewrite.
*
- * $Id: dmenu.c,v 1.7 1995/05/11 06:10:50 jkh Exp $
+ * $Id: dmenu.c,v 1.8 1995/05/16 02:53:07 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -125,7 +125,10 @@ dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max)
(unsigned char **)nitems,
(unsigned char *)result);
}
+
+ /* This seems to be the only technique that works for getting the display to look right */
dialog_clear();
+
if (!rval) {
if (menu->options & DMENU_MULTIPLE_TYPE) {
if (menu->options & DMENU_CALL_FIRST)
@@ -156,5 +159,3 @@ dmenuOpen(DMenu *menu, int *choice, int *scroll, int *curr, int *max)
}
}
}
-
-
OpenPOWER on IntegriCloud