aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r--src/CellBuffer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index bf0ca6ba5..b0b9d9c39 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -47,7 +47,7 @@ struct CountWidths {
countOtherPlanes(countOtherPlanes_) {
}
CountWidths operator-() const noexcept {
- return CountWidths(-countBasePlane , -countOtherPlanes);
+ return CountWidths(-countBasePlane, -countOtherPlanes);
}
Sci::Position WidthUTF32() const noexcept {
// All code points take one code unit in UTF-32.
@@ -832,7 +832,7 @@ void CellBuffer::BasicInsertString(Sci::Position position, const char *s, Sci::P
const Sci::Line lineStart = lineInsert;
// s may not NULL-terminated, ensure *ptr == '\n' or *next == '\n' is valid.
- const char * const end = s + insertLength - 1;
+ const char *const end = s + insertLength - 1;
const char *ptr = s;
unsigned char ch = 0;