diff options
author | nyamatongwe <devnull@localhost> | 2000-04-21 01:59:43 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-04-21 01:59:43 +0000 |
commit | 6956977bdf58be27805d82c1aa33fc9d4c384241 (patch) | |
tree | 473a1082dbd214e4a3d4bb7d0b13d2aa111ee029 /src/ContractionState.cxx | |
parent | cf9e0c55121fc58093e00e8aaae211ee52ecc147 (diff) | |
download | scintilla-mirror-6956977bdf58be27805d82c1aa33fc9d4c384241.tar.gz |
Changed font sizing to use more Windows compatible calculation
Some unfinished work on fixing folding bugs.
Diffstat (limited to 'src/ContractionState.cxx')
-rw-r--r-- | src/ContractionState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |