core: count suffix in alignment computed for context info

v2.8-utf8proc
Sébastien Helleu 2019-10-06 18:08:52 +02:00
parent c77bccba87
commit e47002884a
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ gui_window_get_context_at_xy (struct t_gui_window *window,
if (!window->coords[win_y].data)
return;
coords_x_message = gui_line_get_align ((*line)->data->buffer, *line, 0,
coords_x_message = gui_line_get_align ((*line)->data->buffer, *line, 1,
((win_y > 0) &&
(window->coords[win_y - 1].line != *line)));