diff options
author | nyamatongwe <unknown> | 2003-03-01 22:34:21 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-03-01 22:34:21 +0000 |
commit | 766d73c41cc6d2eb9df06ad437aafd20c6af28c6 (patch) | |
tree | fd8bfdf4d0c9542fa96ab2f98c46293c1b5cb85b /src/LexOthers.cxx | |
parent | a2d8202aa539c9ac941e6a1f8bd54955c5121099 (diff) | |
download | scintilla-mirror-766d73c41cc6d2eb9df06ad437aafd20c6af28c6.tar.gz |
Fixed assertion in LaTeX lexing.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r-- | src/LexOthers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 27a6bf406..10d1c8676 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -561,7 +561,7 @@ static void ColouriseLatexDoc(unsigned int startPos, int length, int initStyle, } } } - styler.ColourTo(lengthDoc, state); + styler.ColourTo(lengthDoc-1, state); } static const char * const batchWordListDesc[] = { |