From: jacob Date: Sun, 6 Mar 2005 15:00:45 +0000 (+0000) Subject: Fix sense of test in previous checkin :) X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/8bba61e21ae5328ecb03b5223612411795c26e36 Fix sense of test in previous checkin :) git-svn-id: svn://svn.tartarus.org/sgt/putty@5448 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/terminal.c b/terminal.c index 0ab14145..e846401e 100644 --- a/terminal.c +++ b/terminal.c @@ -1017,7 +1017,7 @@ static termline *lineptr(Terminal *term, int y, int lineno, int screen) } /* We assume that we don't screw up and retrieve something out of range. */ - if (line != NULL) { + if (line == NULL) { fatalbox("line==NULL in terminal.c\n" "lineno=%d y=%d w=%d h=%d\n" "count(scrollback=%p)=%d\n"