Oops - fixing the line-resizing segfault introduced a new
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 21 May 2001 13:33:12 +0000 (13:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 21 May 2001 13:33:12 +0000 (13:33 +0000)
line-resizing segfault! Remind me to test under Minefield next time.
Should now be fine, as I've just done so.

git-svn-id: svn://svn.tartarus.org/sgt/putty@1141 cda61777-01e9-0310-a592-d414129be87e

terminal.c

index aeadc77..6971368 100644 (file)
@@ -254,6 +254,7 @@ unsigned long *lineptr(int y, int lineno)
     if (newline != line) {
        delpos234(whichtree, treeindex);
        addpos234(whichtree, newline, treeindex);
+        line = newline;
     }
 
     return line + 1;