From 944bf4364d72cef3c55f212628a3414ffcbf961c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 21 Apr 2000 01:59:43 +0000 Subject: Changed font sizing to use more Windows compatible calculation Some unfinished work on fixing folding bugs. --- src/ContractionState.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ContractionState.cxx') diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index aedd1c3ec..b01081588 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -112,7 +112,7 @@ void ContractionState::InsertLines(int lineDoc, int lineCount) { } linesInDoc += lineCount; linesInDisplay += lineCount; - for (int i = linesInDoc + 1; i >= lineDoc + lineCount; i--) { + for (int i = linesInDoc; i >= lineDoc + lineCount; i--) { lines[i].visible = lines[i - lineCount].visible; lines[i].expanded = lines[i - lineCount].expanded; } -- cgit v1.2.3