From 9a64a8cdd8ce6fac18e3d219dd6e3d1c76dac442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 13 Feb 2016 12:26:57 +0100 Subject: Convert call sites of text_line_char_{get,set} to text_line_width_{get,set} --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index a8529f9..49c41b2 100644 --- a/main.c +++ b/main.c @@ -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); } } -- cgit v1.2.3