Add the value of the constant name to the implicit object in the pattern

For objects which has been changed the object type to FcTypeRange.

https://bugs.freedesktop.org/show_bug.cgi?id=105415
This commit is contained in:
Akira TAGOH 2018-03-14 18:31:30 +09:00
parent 923b5be626
commit 4699406a68
1 changed files with 4 additions and 0 deletions

View File

@ -490,6 +490,10 @@ FcNameParse (const FcChar8 *name)
if (!FcPatternAddBool (pat, c->object, c->value))
goto bail2;
break;
case FcTypeRange:
if (!FcPatternAddInteger (pat, c->object, c->value))
goto bail2;
break;
default:
break;
}