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:
Jan Tojnar 2020-08-13 18:36:42 +02:00 committed by Akira TAGOH
parent a53f79b4a2
commit 9133e799b5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}