Merge pull request #4 from danshapero/master

Missing check for underlines in kmscon_font_attr_match
This commit is contained in:
Aetf 2018-06-02 17:01:27 +08:00 committed by GitHub
commit 35fc04acff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,6 +130,8 @@ bool kmscon_font_attr_match(const struct kmscon_font_attr *a1,
return false;
if (a1->italic != a2->italic)
return false;
if (a1->underline != a2->underline)
return false;
if (*a1->name && *a2->name && strcmp(a1->name, a2->name))
return false;