mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
Tweak a message to be a bit more clear.
Declare missing fd. Fix options bug where old text was still weird shades of blue when you came back.
This commit is contained in:
parent
9d01cc32c6
commit
8e693cb7b4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=11421
@ -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: options.c,v 1.5 1995/10/06 11:14:43 jkh Exp $
|
||||
* $Id: options.c,v 1.6 1995/10/07 11:55:34 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -188,6 +188,7 @@ optionsEditor(char *str)
|
||||
int i, optcol, optrow, key;
|
||||
static int currOpt = 0;
|
||||
|
||||
dialog_clear();
|
||||
clear();
|
||||
|
||||
while (1) {
|
||||
@ -258,12 +259,13 @@ optionsEditor(char *str)
|
||||
case ' ':
|
||||
case '\n':
|
||||
fire(Options[currOpt]);
|
||||
dialog_clear();
|
||||
clear();
|
||||
continue;
|
||||
|
||||
case 'Q':
|
||||
clear();
|
||||
dialog_clear();
|
||||
clear();
|
||||
return RET_SUCCESS;
|
||||
|
||||
default:
|
||||
|
@ -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: options.c,v 1.5 1995/10/06 11:14:43 jkh Exp $
|
||||
* $Id: options.c,v 1.6 1995/10/07 11:55:34 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -188,6 +188,7 @@ optionsEditor(char *str)
|
||||
int i, optcol, optrow, key;
|
||||
static int currOpt = 0;
|
||||
|
||||
dialog_clear();
|
||||
clear();
|
||||
|
||||
while (1) {
|
||||
@ -258,12 +259,13 @@ optionsEditor(char *str)
|
||||
case ' ':
|
||||
case '\n':
|
||||
fire(Options[currOpt]);
|
||||
dialog_clear();
|
||||
clear();
|
||||
continue;
|
||||
|
||||
case 'Q':
|
||||
clear();
|
||||
dialog_clear();
|
||||
clear();
|
||||
return RET_SUCCESS;
|
||||
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user