]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix sense of test in previous checkin :)
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 6 Mar 2005 15:00:45 +0000 (15:00 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sun, 6 Mar 2005 15:00:45 +0000 (15:00 +0000)
[originally from svn r5448]

terminal.c

index 0ab14145a1a42626dc3d7d7ea6bfd648c3481369..e846401e9b841eafccad70d0a4265c9440d8d369 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"