diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-02-13 12:26:57 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-02-13 13:43:13 +0100 |
| commit | 9a64a8cdd8ce6fac18e3d219dd6e3d1c76dac442 (patch) | |
| tree | bfedab9aa8f06105d65cabbfa6603fdb6bda21b4 /main.c | |
| parent | cc7ce30fa6a2ebdb2e14d589b11520757e5a20e3 (diff) | |
| download | vis-9a64a8cdd8ce6fac18e3d219dd6e3d1c76dac442.tar.gz vis-9a64a8cdd8ce6fac18e3d219dd6e3d1c76dac442.tar.xz | |
Convert call sites of text_line_char_{get,set} to text_line_width_{get,set}
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); } } |
