Oops - fixing the line-resizing segfault introduced a new
[u/mdw/putty] / 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;