projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pointer type correction in term_clrsb().
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
117ac74
..
906f252
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-1384,7
+1384,7
@@
void term_reconfig(Terminal *term, Config *cfg)
*/
void term_clrsb(Terminal *term)
{
-
termline
*line;
+
unsigned char
*line;
term->disptop = 0;
while ((line = delpos234(term->scrollback, 0)) != NULL) {
sfree(line); /* this is compressed data, not a termline */