diff options
author | Daniel Hahler <git@thequod.de> | 2018-09-23 19:33:37 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-09-23 19:34:39 +0200 |
commit | 535ef67ef01b9406a0f30bc897d0f7a33ff20a22 (patch) | |
tree | 7fcbe3e910104f1461efa7a25eac28034005ebba /src | |
parent | f8f83579ff42ce01e9fe852ec7d9202c4891db87 (diff) | |
download | rneovim-535ef67ef01b9406a0f30bc897d0f7a33ff20a22.tar.gz rneovim-535ef67ef01b9406a0f30bc897d0f7a33ff20a22.tar.bz2 rneovim-535ef67ef01b9406a0f30bc897d0f7a33ff20a22.zip |
minor: tui: update_attrs: code consistency
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/tui/tui.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |