aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CellBuffer.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2024-03-08 09:09:54 +1100
committerNeil <nyamatongwe@gmail.com>2024-03-08 09:09:54 +1100
commit61b369cbfef41fece0d01b7ff600afaa891d76ec (patch)
treebcb1cebacfe26460210553bf63fb25aa63f400d2 /src/CellBuffer.cxx
parent40e4b19c0004d7572c3868a0284fb44a09e4fd36 (diff)
downloadscintilla-mirror-61b369cbfef41fece0d01b7ff600afaa891d76ec.tar.gz
Reformat with astyle.
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;