projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another deglobalisation bug: failed to initialise term->curstype.
[u/mdw/putty]
/
terminal.c
diff --git
a/terminal.c
b/terminal.c
index
d222351
..
eb5d907
100644
(file)
--- a/
terminal.c
+++ b/
terminal.c
@@
-319,6
+319,7
@@
Terminal *term_init(void *frontend)
term->repeat_off = FALSE;
term->termstate = TOPLEVEL;
term->selstate = NO_SELECTION;
+ term->curstype = 0;
term->screen = term->alt_screen = term->scrollback = NULL;
term->disptop = 0;