mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Fix bug in scrollback compression, which manifested when attempting
to encode a very long (len>128) run of the same literal. [originally from svn r4647]
This commit is contained in:
parent
859d92a577
commit
d412fed542
@ -435,6 +435,9 @@ static void makerle(struct buf *b, termline *ldata,
|
||||
hdrpos = b->len;
|
||||
hdrsize = 0;
|
||||
add(b, 0);
|
||||
/* And ensure this run doesn't interfere with the next. */
|
||||
prevlen = prevpos = 0;
|
||||
prev2 = FALSE;
|
||||
|
||||
continue;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user