diff options
author | Neil <nyamatongwe@gmail.com> | 2021-10-12 11:59:29 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-10-12 11:59:29 +1100 |
commit | 946850cad5a3d880554352f55bd8ea7397b6e7bd (patch) | |
tree | fb4260a4107671c7135c7d3d5ea42ee756ac6d79 /src/Document.cxx | |
parent | 04354fa2e11008ab5be66756712a8671409198b2 (diff) | |
download | scintilla-mirror-946850cad5a3d880554352f55bd8ea7397b6e7bd.tar.gz |
Feature [feature-requests:#1416] Prevent type mismatch.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 037371cd6..3ebd357df 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2689,7 +2689,7 @@ Sci::Position Document::WordPartRight(Sci::Position pos) const { } Sci::Position Document::ExtendStyleRange(Sci::Position pos, int delta, bool singleLine) noexcept { - const int sStart = cb.StyleAt(pos); + const char sStart = cb.StyleAt(pos); if (delta < 0) { while (pos > 0 && (cb.StyleAt(pos) == sStart) && (!singleLine || !IsEOLCharacter(cb.CharAt(pos)))) pos--; |