diff options
author | Akira TAGOH <akira@tagoh.org> | 2012-04-11 19:52:35 +0900 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2012-05-14 12:06:12 +0900 |
commit | bc4517d8e5af8f31821ec8d9990765dad2867dd4 (patch) | |
tree | 9d597b46f92ffb600fabe1eb4aec656ffedf8ff3 /src/fclist.c | |
parent | 5ac12c0e94128ea63e3e74b4e602cf0c74661bce (diff) | |
download | fontconfig-bc4517d8e5af8f31821ec8d9990765dad2867dd4.tar.gz |
Bug 19128 - Handling whitespace in aliases
Add a new attribute `ignore-blanks' to <test>.
When this is set to "true", any blanks in the string will be ignored
on comparison. This takes effects for compare="eq" or "not_eq" only.
Also changed the behavior of the comparison on <alias> too.
Diffstat (limited to 'src/fclist.c')
-rw-r--r-- | src/fclist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fclist.c b/src/fclist.c index 331352c..56f0432 100644 --- a/src/fclist.c +++ b/src/fclist.c @@ -148,7 +148,7 @@ FcListValueListMatchAny (FcValueListPtr patOrig, /* pattern */ * where it requires an exact match) */ if (FcConfigCompareValue (&fnt->value, - FcOpListing, + FC_OP (FcOpListing, FcOpFlagIgnoreBlanks), &pat->value)) break; } |