aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2021-09-30 14:27:52 +1000
committerZufu Liu <unknown>2021-09-30 14:27:52 +1000
commitf0d7f6fbc880ed1b5db8fc9fc52bc7cd99d209a6 (patch)
tree66df4640d8af66a1aa4afd3a1eadd0d49e338c78 /src/Document.h
parent116e4d04fd01f81f2bfbd3a94abb58401f475c32 (diff)
downloadscintilla-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.h2
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