From 4fb4f749d4beec089da677fe3d669f80f0e5db27 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 26 Sep 2019 17:19:07 +1000 Subject: Remove extraneous check. --- 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 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_) { -- cgit v1.2.3