aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-01-16 23:41:47 +0000
committernyamatongwe <devnull@localhost>2010-01-16 23:41:47 +0000
commitbeee79cf3129dcf520ea6afd8d2ea4bf371a15bc (patch)
tree55ace63ae49f06ac31c842219c9befbb3975d93b /src
parent2cc34eed35f930f266457e26ef9adcdcb2348072 (diff)
downloadscintilla-mirror-beee79cf3129dcf520ea6afd8d2ea4bf371a15bc.tar.gz
Fix for bug #2929708 Assertion in SplitVector adding line after adding
annotation.
Diffstat (limited to 'src')
-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);
}
}