From 8bba61e21ae5328ecb03b5223612411795c26e36 Mon Sep 17 00:00:00 2001 From: jacob Date: Sun, 6 Mar 2005 15:00:45 +0000 Subject: [PATCH] Fix sense of test in previous checkin :) git-svn-id: svn://svn.tartarus.org/sgt/putty@5448 cda61777-01e9-0310-a592-d414129be87e --- terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.11.0