From a64ce7d8919b9779c60d15c63fb6f54da7fdf6b3 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 16 Jan 2010 23:41:47 +0000 Subject: Fix for bug #2929708 Assertion in SplitVector adding line after adding annotation. --- src/PerLine.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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); } } -- cgit v1.2.3