mirror of
https://github.com/rcornwell/sims.git
synced 2026-04-16 00:21:25 +00:00
KA10: Fix possible error in FE.
This commit is contained in:
@@ -1077,7 +1077,7 @@ dte_function(UNIT *uptr)
|
||||
goto cty;
|
||||
#if (NUM_DEVS_TTY > 0)
|
||||
ln -= NUM_DLS;
|
||||
if (ln > 0 && ln >= tty_desc.lines)
|
||||
if (ln < 0 || ln >= tty_desc.lines)
|
||||
break;
|
||||
otty = &tty_out[ln];
|
||||
if (cmd->sz > 8)
|
||||
|
||||
Reference in New Issue
Block a user