mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-12 18:13:50 -05:00
merged changes up to terminal.c 1.6 [r85]
[originally from svn r88] [r85 == 9a5b63aa03804f6dd90e88fe2fe873a41584c518]
This commit is contained in:
parent
825297641d
commit
d295d01217
@ -958,7 +958,7 @@ void term_out(void) {
|
||||
top = def(esc_args[0], 1) - 1;
|
||||
if (top < 0)
|
||||
top = 0;
|
||||
bot = (esc_nargs == 1 ? rows :
|
||||
bot = (esc_nargs <= 1 || esc_args[1] == 0 ? rows :
|
||||
def(esc_args[1], rows)) - 1;
|
||||
if (bot >= rows)
|
||||
bot = rows-1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user