Merge pull request #4 from danshapero/master
Missing check for underlines in kmscon_font_attr_match
This commit is contained in:
commit
35fc04acff
@ -130,6 +130,8 @@ bool kmscon_font_attr_match(const struct kmscon_font_attr *a1,
|
|||||||
return false;
|
return false;
|
||||||
if (a1->italic != a2->italic)
|
if (a1->italic != a2->italic)
|
||||||
return false;
|
return false;
|
||||||
|
if (a1->underline != a2->underline)
|
||||||
|
return false;
|
||||||
if (*a1->name && *a2->name && strcmp(a1->name, a2->name))
|
if (*a1->name && *a2->name && strcmp(a1->name, a2->name))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user