1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-12 00:28:06 -05:00

Minor fix to diagnostics under #ifdef TERM_CC_DIAG.

I just tried compiling with that for the first time in a while, and it
had slightly bit-rotted due to adoption of strbuf in compressline().
This commit is contained in:
Simon Tatham 2019-03-02 06:36:44 +00:00
parent b4ae5af588
commit 76bacaabf0

View File

@ -717,7 +717,7 @@ static compressed_scrollback_line *compressline(termline *ldata)
printf("\n");
#endif
dcl = decompressline(b->data);
dcl = decompressline((compressed_scrollback_line *)b->u);
assert(ldata->cols == dcl->cols);
assert(ldata->lattr == dcl->lattr);
for (i = 0; i < ldata->cols; i++)