diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-17 14:40:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-17 14:40:00 +0000 |
commit | 51db685ce5136b113343b379f9e1ff5110ce2097 (patch) | |
tree | 3c4b835b80329341731037a431c9a5964fa0a92e /usr.sbin/sysinstall/dmenu.c | |
parent | 795504cd3724527d413d54f657c8c077ca836b59 (diff) | |
download | FreeBSD-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 'usr.sbin/sysinstall/dmenu.c')
-rw-r--r-- | usr.sbin/sysinstall/dmenu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/dmenu.c b/usr.sbin/sysinstall/dmenu.c index d10167c..457518e 100644 --- a/usr.sbin/sysinstall/dmenu.c +++ b/usr.sbin/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) } } } - - |