diff options
author | jkh <jkh@FreeBSD.org> | 1995-10-22 17:18:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-10-22 17:18:36 +0000 |
commit | 212c8f1ba7c62342e90ba294aac4b2e0e1faed00 (patch) | |
tree | 264780a26d573e1b062a3d5907d3060d9cddb874 /release/sysinstall/doc.c | |
parent | 2b02753359669b49ee92eeb7a287b8155864a203 (diff) | |
download | FreeBSD-src-212c8f1ba7c62342e90ba294aac4b2e0e1faed00.zip FreeBSD-src-212c8f1ba7c62342e90ba294aac4b2e0e1faed00.tar.gz |
Style changes. Clear the screen before a lot of error dialogs so that they
don't bogusly restore the screen to the message that was the cause of the
abort. That resulted in lots of weird flickering dialog boxes that appeared
to be displayed out of sequence.
Diffstat (limited to 'release/sysinstall/doc.c')
-rw-r--r-- | release/sysinstall/doc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/sysinstall/doc.c b/release/sysinstall/doc.c index 49fe798..d6a0b44 100644 --- a/release/sysinstall/doc.c +++ b/release/sysinstall/doc.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: doc.c,v 1.2 1995/10/20 14:24:41 jkh Exp $ + * $Id: doc.c,v 1.3 1995/10/22 01:32:42 jkh Exp $ * * Jordan Hubbard * @@ -29,6 +29,7 @@ docBrowser(char *junk) /* Make sure we were started at a reasonable time */ if (!strcmp(variable_get(SYSTEM_STATE), "init")) { + dialog_clear(); msgConfirm("Sorry, it's not possible to invoke the browser until the system\n" "is installed completely enough to support a copy of %s.", browser); return RET_FAIL; @@ -38,7 +39,8 @@ docBrowser(char *junk) return RET_FAIL; /* First, make sure we have whatever browser we've chosen is here */ - if (package_extract(mediaDevice, browser) != RET_SUCCESS) { + if (package_add(browser) != RET_SUCCESS) { + dialog_clear(); msgConfirm("Unable to install the %s HTML browser package. You may\n" "wish to verify that your media is configured correctly and\n" "try again.", browser); @@ -67,6 +69,7 @@ docShowDocument(char *str) char *browser = variable_get(VAR_BROWSER_BINARY); if (!file_executable(browser)) { + dialog_clear(); msgConfirm("Can't find the browser in %s! Please ensure that it's\n" "properly set in the Options editor.", browser); return RET_FAIL; |