diff --git a/src/fcmatch.c b/src/fcmatch.c index 0c0a067..5e02431 100644 --- a/src/fcmatch.c +++ b/src/fcmatch.c @@ -256,6 +256,9 @@ FcCompareHash (FcValue *v1, FcValue *v2) return FcCompareString (v1, v2); } + +/* Define priorities to -1 for objects that don't have a compare function. */ + #define PRI_NULL(n) \ PRI_ ## n ## _STRONG = -1, \ PRI_ ## n ## _WEAK = -1, @@ -280,6 +283,9 @@ typedef enum _FcMatcherPriorityDummy { #undef FC_OBJECT + +/* Canonical match priority order. */ + #undef PRI1 #define PRI1(n) \ PRI_ ## n, \