summaryrefslogtreecommitdiff
path: root/src/fccfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fccfg.c')
-rw-r--r--src/fccfg.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fccfg.c b/src/fccfg.c
index 2351ac23..0127d3f7 100644
--- a/src/fccfg.c
+++ b/src/fccfg.c
@@ -2258,7 +2258,7 @@ FcConfigAppFontAddFile (FcConfig *config,
return FcFalse;
}
- subdirs = FcStrSetCreateEx (FCSS_GROW_BY_64);
+ subdirs = FcStrSetCreateEx (FC_SET_GROW_BY_64);
if (!subdirs)
return FcFalse;
@@ -2305,7 +2305,7 @@ FcConfigAppFontAddDir (FcConfig *config,
return FcFalse;
}
- dirs = FcStrSetCreateEx (FCSS_GROW_BY_64);
+ dirs = FcStrSetCreateEx (FC_SET_GROW_BY_64);
if (!dirs)
return FcFalse;
@@ -2365,8 +2365,8 @@ FcConfigGlobsMatch (const FcStrSet *globs,
{
int i;
- for (i = 0; i < globs->num; i++)
- if (FcStrGlobMatch (globs->strs[i], string))
+ for (i = 0; i < FcStrSetGetSize (globs); i++)
+ if (FcStrGlobMatch (FcStrSetIndex (globs, i), string))
return FcTrue;
return FcFalse;
}