aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-01-16 23:41:47 +0000
committernyamatongwe <unknown>2010-01-16 23:41:47 +0000
commita64ce7d8919b9779c60d15c63fb6f54da7fdf6b3 (patch)
tree55ace63ae49f06ac31c842219c9befbb3975d93b
parent5ea67a3d71f61972c5b3a40ec8fa0510e9cda9bc (diff)
downloadscintilla-mirror-a64ce7d8919b9779c60d15c63fb6f54da7fdf6b3.tar.gz
Fix for bug #2929708 Assertion in SplitVector adding line after adding
annotation.
-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);
}
}