diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 6d04e04c9..d404e6463 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -735,7 +735,7 @@ void CellBuffer::InsertLine(int line, int position) { void CellBuffer::RemoveLine(int line) { lv.RemoveLine(line); - if (lineStates.Length()) { + if (lineStates.Length() > line) { lineStates.Delete(line); } } |