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
commit4fb4f749d4beec089da677fe3d669f80f0e5db27 (patch)
tree25c3ca1774f4f9af08c5d76700cd646832d58c5c
parent2f0e3a82ad1685f4762ab2b927534e206e8f0f23 (diff)
downloadscintilla-mirror-4fb4f749d4beec089da677fe3d669f80f0e5db27.tar.gz
Remove extraneous check.
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index c540f895f..1d0698a89 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -680,9 +680,7 @@ void CellBuffer::Allocate(Sci::Position newSize) {
}
void CellBuffer::SetUTF8Substance(bool utf8Substance_) {
- if (utf8Substance != utf8Substance_) {
- utf8Substance = utf8Substance_;
- }
+ utf8Substance = utf8Substance_;
}
void CellBuffer::SetLineEndTypes(int utf8LineEnds_) {