top: cleanup of miscellaneous stuff from prior commits <=== port of newlib daedcb97

______________________________ original newlib message
----------------------------------- ( minus git hash )

Fix some errors introduced in the commits shown below.

Reference(s):
. Apr, 2022 - 'keys_global' missed redundancy
commit ........................................

. Apr, 2022 - added extraneous comma in help text
commit ........................................

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2022-06-15 00:00:00 -05:00
committed by Craig Small
parent 55453f5af2
commit 1a28b4cb8d
2 changed files with 4 additions and 5 deletions

View File

@@ -5667,12 +5667,11 @@ static void keys_global (int ch) {
}
break;
case 'X':
{ int wide = get_int(fmtmk(N_fmt(XTRA_fixwide_fmt), Rc.fixed_widest));
if (wide > GET_NUM_NOT) {
if (wide >= 0 && wide <= SCREENMAX) Rc.fixed_widest = wide;
num = get_int(fmtmk(N_fmt(XTRA_fixwide_fmt), Rc.fixed_widest));
if (num > GET_NUM_NOT) {
if (num >= 0 && num <= SCREENMAX) Rc.fixed_widest = num;
else Rc.fixed_widest = -1;
}
}
break;
case 'Y':
if (!Inspect.total)