Commit 9133e799 authored by Jan Tojnar's avatar Jan Tojnar Committed by Akira TAGOH

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.
parent a53f79b4
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment