diff options
author | Zufu Liu <unknown> | 2021-09-30 14:27:52 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2021-09-30 14:27:52 +1000 |
commit | f0d7f6fbc880ed1b5db8fc9fc52bc7cd99d209a6 (patch) | |
tree | 66df4640d8af66a1aa4afd3a1eadd0d49e338c78 /src/Document.h | |
parent | 116e4d04fd01f81f2bfbd3a94abb58401f475c32 (diff) | |
download | scintilla-mirror-f0d7f6fbc880ed1b5db8fc9fc52bc7cd99d209a6.tar.gz |
Feature [feature-requests:#1416] Remove extra check that is never true and
remove parameter used just for this test.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index 402f37c17..897a1270c 100644 --- a/src/Document.h +++ b/src/Document.h @@ -352,7 +352,7 @@ public: bool IsDBCSTrailByteNoExcept(char ch) const noexcept; int DBCSDrawBytes(std::string_view text) const noexcept; bool IsDBCSDualByteAt(Sci::Position pos) const noexcept; - int SafeSegment(const char *text, int length, int lengthSegment) const noexcept; + int SafeSegment(const char *text, int lengthSegment) const noexcept; EncodingFamily CodePageFamily() const noexcept; // Gateways to modifying document |