Fix a typo
This commit is contained in:
parent
f3bb3f19c9
commit
6c664d533d
|
@ -2509,7 +2509,6 @@ FcParseMatch (FcConfigParse *parse)
|
||||||
{
|
{
|
||||||
const FcChar8 *kind_name;
|
const FcChar8 *kind_name;
|
||||||
FcMatchKind kind;
|
FcMatchKind kind;
|
||||||
FcEdit *edit = 0;
|
|
||||||
FcVStack *vstack;
|
FcVStack *vstack;
|
||||||
FcRule *rule = NULL, *r;
|
FcRule *rule = NULL, *r;
|
||||||
|
|
||||||
|
@ -2545,8 +2544,10 @@ FcParseMatch (FcConfigParse *parse)
|
||||||
{
|
{
|
||||||
FcConfigMessage (parse, FcSevereError,
|
FcConfigMessage (parse, FcSevereError,
|
||||||
"<match target=\"scan\"> cannot edit user-defined object \"%s\"",
|
"<match target=\"scan\"> cannot edit user-defined object \"%s\"",
|
||||||
FcObjectName(edit->object));
|
FcObjectName(vstack->u.edit->object));
|
||||||
break;
|
if (rule)
|
||||||
|
FcRuleDestroy (rule);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
r = FcRuleCreate (FcRuleEdit, vstack->u.edit);
|
r = FcRuleCreate (FcRuleEdit, vstack->u.edit);
|
||||||
if (rule)
|
if (rule)
|
||||||
|
|
Loading…
Reference in New Issue