1
0
forked from aniani/vim

patch 8.2.4610: some conditions are always true

Problem:    Some conditions are always true.
Solution:   Remove the useless conditions. (closes #9993)
This commit is contained in:
Bram Moolenaar
2022-03-22 20:42:12 +00:00
parent 6f2465d336
commit fe154990c1
13 changed files with 18 additions and 23 deletions

View File

@@ -1226,8 +1226,7 @@ win_line(
{
draw_state = WL_BRI;
// if need_showbreak is set, breakindent also applies
if (wp->w_p_bri && n_extra == 0
&& (row != startrow || need_showbreak)
if (wp->w_p_bri && (row != startrow || need_showbreak)
# ifdef FEAT_DIFF
&& filler_lines == 0
# endif