Fix sense of test in previous checkin :)
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 Mar 2005 15:00:45 +0000 (15:00 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 6 Mar 2005 15:00:45 +0000 (15:00 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@5448 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index 0ab1414..e846401 100644 (file)
@@ -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"