From fb05a198c8dea8ae8d7c0e2ad08078c796dbfada Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 26 Sep 2019 17:19:07 +1000 Subject: Backport: Remove extraneous check. Backport of changeset 7691:91d02e078079. --- src/CellBuffer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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_) { -- cgit v1.2.3