From c0cc37561bae357a6f4614a94c02e0fd3534f076 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 1 Mar 2003 22:34:21 +0000 Subject: Fixed assertion in LaTeX lexing. --- src/LexOthers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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[] = { -- cgit v1.2.3