diff options
author | nyamatongwe <unknown> | 2007-11-23 02:12:52 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-11-23 02:12:52 +0000 |
commit | a72ff058168403b9145beeb4e3e322a47f07895c (patch) | |
tree | 5261e14cdb4e6190cd95e554bd832eb977f6bff9 /src | |
parent | fceac9c22389053b61ed608eb4994402979f5972 (diff) | |
download | scintilla-mirror-a72ff058168403b9145beeb4e3e322a47f07895c.tar.gz |
Fixed crash when using line state, the final line has not been given a line
state and is deleted.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 6d04e04c9..d404e6463 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -735,7 +735,7 @@ void CellBuffer::InsertLine(int line, int position) { void CellBuffer::RemoveLine(int line) { lv.RemoveLine(line); - if (lineStates.Length()) { + if (lineStates.Length() > line) { lineStates.Delete(line); } } |