Small formatting fix

This commit is contained in:
Maxime Coste 2014-10-27 13:22:42 +00:00
parent a482b1f8d8
commit 372ba2936f

View File

@ -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), return utf8::advance(buffer.iterator_at(atom.begin()), buffer.iterator_at(range.second),
std::max(0_char, column)).coord(); std::max(0_char, column)).coord();
return atom.begin(); return atom.begin();
} }
column -= len; column -= len;
} }
return buffer.clamp(buffer.prev(range.second)); return buffer.clamp(buffer.prev(range.second));