summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-10-06 18:11:58 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-06 18:11:58 +0200
commite6570d6e3a2205ef30843eba91b6030c8efbd98c (patch)
treedf114932a532f34ef365042d93f61a4192e23fd9 /src/gui
parente47002884a78ed8b8ed495421469c23c5963d98f (diff)
downloadweechat-e6570d6e3a2205ef30843eba91b6030c8efbd98c.zip
core: fix line too long, add comment on argument "with_suffix"
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c
index 2a494f2c9..1ba987ae2 100644
--- a/src/gui/gui-window.c
+++ b/src/gui/gui-window.c
@@ -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)
{