From 372ba2936fdd4e92904eb81a5eecd2a997bbaea1 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 27 Oct 2014 13:22:42 +0000 Subject: [PATCH] Small formatting fix --- src/window.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cc b/src/window.cc index 258c4d46..a3bafef3 100644 --- a/src/window.cc +++ b/src/window.cc @@ -230,7 +230,7 @@ ByteCoord find_buffer_coord(const DisplayLine& line, const Buffer& buffer, return utf8::advance(buffer.iterator_at(atom.begin()), buffer.iterator_at(range.second), std::max(0_char, column)).coord(); return atom.begin(); - } + } column -= len; } return buffer.clamp(buffer.prev(range.second));