Turn unknown attributes into warning
As far as I can tell, fontconfig can recover from encountering an unknown attribute. And unknown elements already print a warning instead of an error, so let's make this a warning too.
This commit is contained in:
parent
a53f79b4a2
commit
9133e799b5
|
@ -1210,7 +1210,7 @@ FcPStackPop (FcConfigParse *parse)
|
|||
{
|
||||
if (attrs[0][0])
|
||||
{
|
||||
FcConfigMessage (parse, FcSevereError, "invalid attribute '%s'", attrs[0]);
|
||||
FcConfigMessage (parse, FcSevereWarning, "invalid attribute '%s'", attrs[0]);
|
||||
}
|
||||
attrs += 2;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue