1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

core: fix line too long, add comment on argument "with_suffix"

This commit is contained in:
Sébastien Helleu
2019-10-06 18:11:58 +02:00
parent e47002884a
commit e6570d6e3a
+5 -3
View File
@@ -183,9 +183,11 @@ 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, 1,
((win_y > 0) &&
(window->coords[win_y - 1].line != *line)));
coords_x_message = gui_line_get_align (
(*line)->data->buffer,
*line,
1, /* with suffix */
((win_y > 0) && (window->coords[win_y - 1].line != *line)));
if (win_x < coords_x_message)
{