screen.c: fix lint

This commit is contained in:
Björn Linse
2017-06-03 14:37:43 +02:00
parent 16ae369474
commit ad73a70e5a
4 changed files with 101 additions and 84 deletions

View File

@@ -601,8 +601,10 @@ void terminal_get_line_attributes(Terminal *term, win_T *wp, int linenr,
if (term->cursor.visible && term->cursor.row == row
&& term->cursor.col == col) {
attr_id = hl_combine_attr(attr_id, is_focused(term) && wp == curwin ?
win_hl_attr(wp, HLF_TERM) : win_hl_attr(wp, HLF_TERMNC));
attr_id = hl_combine_attr(attr_id,
is_focused(term) && wp == curwin
? win_hl_attr(wp, HLF_TERM)
: win_hl_attr(wp, HLF_TERMNC));
}
term_attrs[col] = attr_id;