diff options
author | Keith Packard <keithp@keithp.com> | 2002-08-22 18:53:22 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2002-08-22 18:53:22 +0000 |
commit | 47d4f9501fe21603feb5f3f233ea3bc6ec15f494 (patch) | |
tree | b946ec1caa95d02ca3af6a00f74c64e655cca912 /src/fclist.c | |
parent | d8d7395877238acbc9cd4709e3b4e76f8ca978cb (diff) | |
download | fontconfig-47d4f9501fe21603feb5f3f233ea3bc6ec15f494.tar.gz |
Add contains/not_contains, fix LangSet equal operator to use FcLangEqual
Diffstat (limited to 'src/fclist.c')
-rw-r--r-- | src/fclist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fclist.c b/src/fclist.c index 3a48e0f..6c04a1a 100644 --- a/src/fclist.c +++ b/src/fclist.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/lib/fontconfig/src/fclist.c,v 1.9 2002/08/19 19:32:05 keithp Exp $ + * $XFree86: xc/lib/fontconfig/src/fclist.c,v 1.10 2002/08/22 07:36:44 keithp Exp $ * * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. * @@ -142,7 +142,7 @@ FcListValueListEqual (FcValueList *v1orig, for (v1 = v1orig; v1; v1 = v1->next) { for (v2 = v2orig; v2; v2 = v2->next) - if (FcConfigCompareValue (v1->value, FcOpEqual, v2->value)) + if (FcValueEqual (v1->value, v2->value)) break; if (!v2) return FcFalse; @@ -150,7 +150,7 @@ FcListValueListEqual (FcValueList *v1orig, for (v2 = v2orig; v2; v2 = v2->next) { for (v1 = v1orig; v1; v1 = v1->next) - if (FcConfigCompareValue (v1->value, FcOpEqual, v2->value)) + if (FcValueEqual (v1->value, v2->value)) break; if (!v1) return FcFalse; @@ -171,7 +171,7 @@ FcListPatternEqual (FcPattern *p1, e1 = FcPatternFindElt (p1, os->objects[i]); e2 = FcPatternFindElt (p2, os->objects[i]); if (!e1 && !e2) - return FcTrue; + continue; if (!e1 || !e2) return FcFalse; if (!FcListValueListEqual (e1->values, e2->values)) |