aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PerLine.cxx')
-rw-r--r--src/PerLine.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/PerLine.cxx b/src/PerLine.cxx
index e2e892d76..3e02d65fa 100644
--- a/src/PerLine.cxx
+++ b/src/PerLine.cxx
@@ -362,6 +362,7 @@ void LineAnnotation::Init() {
void LineAnnotation::InsertLine(int line) {
if (annotations.Length()) {
+ annotations.EnsureLength(line);
annotations.Insert(line, 0);
}
}