aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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_) {