diff options
Diffstat (limited to 'src/buffer_utils.cc')
| -rw-r--r-- | src/buffer_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer_utils.cc b/src/buffer_utils.cc index 19e35552..eadf6415 100644 --- a/src/buffer_utils.cc +++ b/src/buffer_utils.cc @@ -11,7 +11,7 @@ namespace Kakoune CharCount get_column(const Buffer& buffer, CharCount tabstop, ByteCoord coord) { - auto& line = buffer[coord.line]; + auto line = buffer[coord.line]; auto col = 0_char; for (auto it = line.begin(); it != line.end() and coord.column > (int)(it - line.begin()); |
