summaryrefslogtreecommitdiff
path: root/src/buffer.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-11-14 00:12:15 +0000
committerMaxime Coste <frrrwww@gmail.com>2013-11-14 00:12:15 +0000
commit04ae48c346d0c2c6d6bcd4bbb7f6ff0ab88c1bd8 (patch)
tree31609f0e6d9159f0e0c1c416e392f380c51a67e0 /src/buffer.cc
parent9679b17b16fb971de2e048a1abf2d63fe83ad3ee (diff)
indent cleanup, correct erroneous 3 spaces indent
Diffstat (limited to 'src/buffer.cc')
-rw-r--r--src/buffer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.cc b/src/buffer.cc
index 2422e7ac..cd45273f 100644
--- a/src/buffer.cc
+++ b/src/buffer.cc
@@ -731,9 +731,9 @@ ByteCount Buffer::offset(BufferCoord c) const
bool Buffer::is_valid(BufferCoord c) const
{
- return (c.line < line_count() and c.column < m_lines[c.line].length()) or
- (c.line == line_count() - 1 and c.column == m_lines.back().length()) or
- (c.line == line_count() and c.column == 0);
+ return (c.line < line_count() and c.column < m_lines[c.line].length()) or
+ (c.line == line_count() - 1 and c.column == m_lines.back().length()) or
+ (c.line == line_count() and c.column == 0);
}
bool Buffer::is_end(BufferCoord c) const