aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-03-01 22:34:21 +0000
committernyamatongwe <devnull@localhost>2003-03-01 22:34:21 +0000
commitc0cc37561bae357a6f4614a94c02e0fd3534f076 (patch)
treefd8bfdf4d0c9542fa96ab2f98c46293c1b5cb85b /src/LexOthers.cxx
parentc49aae8c8b1508a5f7df24409c8cf50c67da6d1f (diff)
downloadscintilla-mirror-c0cc37561bae357a6f4614a94c02e0fd3534f076.tar.gz
Fixed assertion in LaTeX lexing.
Diffstat (limited to 'src/LexOthers.cxx')
-rw-r--r--src/LexOthers.cxx2
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[] = {