diff options
author | nyamatongwe <unknown> | 2010-01-16 23:41:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-01-16 23:41:47 +0000 |
commit | a64ce7d8919b9779c60d15c63fb6f54da7fdf6b3 (patch) | |
tree | 55ace63ae49f06ac31c842219c9befbb3975d93b /src | |
parent | 5ea67a3d71f61972c5b3a40ec8fa0510e9cda9bc (diff) | |
download | scintilla-mirror-a64ce7d8919b9779c60d15c63fb6f54da7fdf6b3.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); } } |