diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index d404e6463..85bf43552 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -729,6 +729,7 @@ int CellBuffer::LineFromHandle(int markerHandle) { void CellBuffer::InsertLine(int line, int position) { lv.InsertLine(line, position); if (lineStates.Length()) { + lineStates.EnsureLength(line); lineStates.Insert(line, 0); } } |