diff options
author | nyamatongwe <devnull@localhost> | 2010-01-16 23:41:47 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-01-16 23:41:47 +0000 |
commit | beee79cf3129dcf520ea6afd8d2ea4bf371a15bc (patch) | |
tree | 55ace63ae49f06ac31c842219c9befbb3975d93b /src | |
parent | 2cc34eed35f930f266457e26ef9adcdcb2348072 (diff) | |
download | scintilla-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.cxx | 1 |
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); } } |