summaryrefslogtreecommitdiff
path: root/src/buffer_utils.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-05-07 19:51:01 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-05-07 19:53:45 +0100
commit8546788b436de31e1c523234941469b978ebb20e (patch)
treee5a24297bbc46d5e7599335f37fd9b3a77e77012 /src/buffer_utils.cc
parent54ceb3a0d0b6835cec58d6479d160c1ab76b44d3 (diff)
Refactor LineAndColumn coordinates
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
Diffstat (limited to 'src/buffer_utils.cc')
-rw-r--r--src/buffer_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc
index 1ed1a836..9f5892c2 100644
--- a/src/buffer_utils.cc
+++ b/src/buffer_utils.cc
@@ -6,7 +6,7 @@ namespace Kakoune
{
CharCount get_column(const Buffer& buffer,
- CharCount tabstop, BufferCoord coord)
+ CharCount tabstop, ByteCoord coord)
{
auto& line = buffer[coord.line];
auto col = 0_char;