Merge pull request #9039 from blueyed/undercurl

tui: code consistency in update_attrs
This commit is contained in:
Björn Linse 2018-09-23 20:30:56 +02:00 committed by GitHub
commit 1a1164339a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {