summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2018-03-14 18:31:30 +0900
committerAkira TAGOH <akira@tagoh.org>2018-03-14 18:32:30 +0900
commit4699406a68321179b14fae7412f828e2f37a7033 (patch)
tree49deb197783e6048ad8c7ca0fba763bd9413ae4b /src
parent923b5be626a6e03fbaeee0b5cd6d0246c2f8f36f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/fcname.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fcname.c b/src/fcname.c
index 15fb659b..c9320aee 100644
--- a/src/fcname.c
+++ b/src/fcname.c
@@ -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;
}