1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: remove useless condition (issue #1092)

This commit is contained in:
Sébastien Helleu
2017-10-29 07:35:38 +01:00
parent 1876af7500
commit 093af02f0c
+4 -3
View File
@@ -958,10 +958,11 @@ gui_line_add_to_list (struct t_gui_lines *lines,
if (prefix_length > lines->prefix_max_length)
lines->prefix_max_length = prefix_length;
}
/* adjust "lines_hidden" if the line is hidden */
if (!line->data->displayed)
else
{
/* adjust "lines_hidden" if the line is hidden */
(lines->lines_hidden)++;
}
lines->lines_count++;
}