summaryrefslogtreecommitdiff
path: root/src/fcinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcinit.c')
-rw-r--r--src/fcinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fcinit.c b/src/fcinit.c
index 8bb0fd4f..30646dc1 100644
--- a/src/fcinit.c
+++ b/src/fcinit.c
@@ -44,7 +44,7 @@ FcInitFallbackConfig (const FcChar8 *sysroot)
if (!config)
goto bail0;
FcConfigSetSysRoot (config, sysroot);
- if (!FcConfigAddDir (config, (FcChar8 *) FC_DEFAULT_FONTS))
+ if (!FcConfigAddFontDir (config, (FcChar8 *) FC_DEFAULT_FONTS))
goto bail1;
if (!FcConfigAddCacheDir (config, (FcChar8 *) FC_CACHEDIR))
goto bail1;