1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Another deglobalisation bug: failed to initialise term->curstype.

Thanks to valgrind for finding this one (aha! I knew there would be
benefits from doing a Unix port!).

[originally from svn r2152]
This commit is contained in:
Simon Tatham 2002-10-28 17:30:47 +00:00
parent 9a5939e9cf
commit ac545e0530

View File

@ -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;