From ac545e053005b2a08455c7a45d4d24f34d74a300 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 28 Oct 2002 17:30:47 +0000 Subject: [PATCH] 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] --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index d222351d..eb5d9074 100644 --- 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;