diff options
author | Neil <nyamatongwe@gmail.com> | 2019-09-26 17:19:07 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-09-26 17:19:07 +1000 |
commit | 4fb4f749d4beec089da677fe3d669f80f0e5db27 (patch) | |
tree | 25c3ca1774f4f9af08c5d76700cd646832d58c5c /src | |
parent | 2f0e3a82ad1685f4762ab2b927534e206e8f0f23 (diff) | |
download | scintilla-mirror-4fb4f749d4beec089da677fe3d669f80f0e5db27.tar.gz |
Remove extraneous check.
Diffstat (limited to 'src')
-rw-r--r-- | src/CellBuffer.cxx | 4 |
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_) { |