From 9736adfcfa9be098b20154181b8c9a7476af9fe6 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 21 May 2001 13:33:12 +0000 Subject: [PATCH] Oops - fixing the line-resizing segfault introduced a new line-resizing segfault! Remind me to test under Minefield next time. Should now be fine, as I've just done so. [originally from svn r1141] --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index aeadc771..69713680 100644 --- a/terminal.c +++ b/terminal.c @@ -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;