]> git.wh0rd.org - fontconfig.git/commitdiff
FcCharSetIsSubset errored on fonts with subsets in early blocks and extra
authorKeith Packard <keithp@keithp.com>
Tue, 18 Mar 2003 08:03:42 +0000 (08:03 +0000)
committerKeith Packard <keithp@keithp.com>
Tue, 18 Mar 2003 08:03:42 +0000 (08:03 +0000)
    blocks not present in the second argument

src/fccharset.c

index a8fffdd8600e02932f2dbfe61c5c777c9be8d9bb..1c0ebdd38c3eca47ad136637c9ccc7fa114e6adc 100644 (file)
@@ -637,7 +637,7 @@ FcCharSetIsSubset (const FcCharSet *a, const FcCharSet *b)
                bi++;
        }
     }
-    return FcTrue;
+    return ai >= a->num;
 }
 
 /*