From 535ef67ef01b9406a0f30bc897d0f7a33ff20a22 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 23 Sep 2018 19:33:37 +0200 Subject: [PATCH] minor: tui: update_attrs: code consistency --- src/nvim/tui/tui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 713fe6a2e5..fdd38c48b4 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -483,7 +483,8 @@ static void update_attrs(UI *ui, HlAttrs attrs) bool italic = attr & HL_ITALIC; bool reverse = attr & HL_INVERSE; bool standout = attr & HL_STANDOUT; - bool underline = attr & (HL_UNDERLINE), undercurl = attr & (HL_UNDERCURL); + bool underline = attr & HL_UNDERLINE; + bool undercurl = attr & HL_UNDERCURL; if (unibi_get_str(data->ut, unibi_set_attributes)) { if (bold || reverse || underline || undercurl || standout) {