diff options
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1176,7 +1176,7 @@ static const char *cursors_align(Vis *vis, const char *keys, const Arg *arg) { for (Cursor *c = view_cursors(view); c; c = view_cursors_next(c)) { if (view_cursors_cell_set(c, mincol) == -1) { size_t pos = view_cursors_pos(c); - size_t col = text_line_char_set(txt, pos, mincol); + size_t col = text_line_width_set(txt, pos, mincol); view_cursors_to(c, col); } } |
