]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcmatch.c
[int] Remove fc_storage_type() in favor of direct access to v->type
[fontconfig.git] / src / fcmatch.c
index 0d84704b51abfff52eba73837ebf11aebbe8b3cd..ecb5aa9b352f1750786453b806486f6dc2670032 100644 (file)
@@ -129,7 +129,7 @@ FcCompareLang (FcValue *v1, FcValue *v2)
 static double
 FcCompareBool (FcValue *v1, FcValue *v2)
 {
-    if (fc_storage_type(v2) != FcTypeBool || fc_storage_type(v1) != FcTypeBool)
+    if (v2->type != FcTypeBool || v1->type != FcTypeBool)
        return -1.0;
     return (double) v2->u.b != v1->u.b;
 }