summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/variable.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-04-23 01:29:35 +0000
committerjkh <jkh@FreeBSD.org>1996-04-23 01:29:35 +0000
commite665fee23a1e8faaacaceda94ce45295956dee10 (patch)
tree61dd517d68f78c02b32b70a1ec457f1509801e87 /release/sysinstall/variable.c
parent70a317a618a87b0eac973736356fadfa45b35959 (diff)
downloadFreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.zip
FreeBSD-src-e665fee23a1e8faaacaceda94ce45295956dee10.tar.gz
Bring this into sync.
I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
Diffstat (limited to 'release/sysinstall/variable.c')
-rw-r--r--release/sysinstall/variable.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/release/sysinstall/variable.c b/release/sysinstall/variable.c
index 6fbd643..4f7ad73 100644
--- a/release/sysinstall/variable.c
+++ b/release/sysinstall/variable.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: variable.c,v 1.7 1995/12/07 10:34:23 peter Exp $
+ * $Id: variable.c,v 1.8 1996/04/13 13:32:15 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -128,12 +128,10 @@ char *
variable_get_value(char *var, char *prompt)
{
char *cp;
-
- dialog_clear();
+
if ((cp = msgGetInput(variable_get(var), prompt)) != NULL)
variable_set2(var, cp);
else
cp = NULL;
- dialog_clear();
return cp;
}
OpenPOWER on IntegriCloud