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:
parent
6c14aa215f
commit
9496269c6e
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user