1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Pointer type correction in term_clrsb().

(Harmless, as it happens.)

[originally from svn r6568]
This commit is contained in:
Jacob Nevins 2006-02-18 22:30:10 +00:00
parent 6c14aa215f
commit 9496269c6e

View File

@ -1384,7 +1384,7 @@ void term_reconfig(Terminal *term, Config *cfg)
*/ */
void term_clrsb(Terminal *term) void term_clrsb(Terminal *term)
{ {
termline *line; unsigned char *line;
term->disptop = 0; term->disptop = 0;
while ((line = delpos234(term->scrollback, 0)) != NULL) { while ((line = delpos234(term->scrollback, 0)) != NULL) {
sfree(line); /* this is compressed data, not a termline */ sfree(line); /* this is compressed data, not a termline */