X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=src%2Ffclist.c;h=176017dbc86ea94148f8c1d11af3e9869a8dd729;hb=179c39959cc9c19004f8ca948623590e404c8c46;hp=17343be0a2e9410d6082e286d942087c01b437ba;hpb=1ce2a1bbadc15147e35dbc4c43fae072b8c4805e;p=fontconfig.git diff --git a/src/fclist.c b/src/fclist.c index 17343be..176017d 100644 --- a/src/fclist.c +++ b/src/fclist.c @@ -1,5 +1,5 @@ /* - * $XFree86: $ + * $XFree86: xc/lib/fontconfig/src/fclist.c,v 1.2 2002/02/28 16:51:48 keithp Exp $ * * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. * @@ -372,6 +372,9 @@ FcFontSetList (FcConfig *config, if (!config) { + if (!FcInitBringUptoDate ()) + goto bail0; + config = FcConfigGetCurrent (); if (!config) goto bail0;