aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexOthers.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-01 22:34:21 +0000
committernyamatongwe <unknown>2003-03-01 22:34:21 +0000
commit766d73c41cc6d2eb9df06ad437aafd20c6af28c6 (patch)
treefd8bfdf4d0c9542fa96ab2f98c46293c1b5cb85b /src/LexOthers.cxx
parenta2d8202aa539c9ac941e6a1f8bd54955c5121099 (diff)
downloadscintilla-mirror-766d73c41cc6d2eb9df06ad437aafd20c6af28c6.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[] = {