aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-09-26 17:19:07 +1000
committerNeil <nyamatongwe@gmail.com>2019-09-26 17:19:07 +1000
commitfb05a198c8dea8ae8d7c0e2ad08078c796dbfada (patch)
tree6e1756ebc01deba0c0e67d54d6d9d326d0b75d5d
parent627dc3f629a3c81cdb092e8b6cb962599c85baee (diff)
downloadscintilla-mirror-fb05a198c8dea8ae8d7c0e2ad08078c796dbfada.tar.gz
Backport: Remove extraneous check.
Backport of changeset 7691:91d02e078079.
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 66caa71dc..98ba435d6 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -679,9 +679,7 @@ void CellBuffer::Allocate(Sci::Position newSize) {
}
void CellBuffer::SetUTF8Substance(bool utf8Substance_) {
- if (utf8Substance != utf8Substance_) {
- utf8Substance = utf8Substance_;
- }
+ utf8Substance = utf8Substance_;
}
void CellBuffer::SetLineEndTypes(int utf8LineEnds_) {