Put back accidentally removed code
This commit is contained in:
parent
6d1d44d5ec
commit
f8e22fd646
|
@ -692,6 +692,8 @@ FcFontRenderPrepare (FcConfig *config,
|
||||||
if (!l)
|
if (!l)
|
||||||
goto bail0;
|
goto bail0;
|
||||||
dir = FcStrDirname (FcValueString (&l->value));
|
dir = FcStrDirname (FcValueString (&l->value));
|
||||||
|
if (!config)
|
||||||
|
config = FcConfigGetCurrent ();
|
||||||
if (config && FcHashTableFind (config->alias_table, dir, (void **) &alias))
|
if (config && FcHashTableFind (config->alias_table, dir, (void **) &alias))
|
||||||
{
|
{
|
||||||
FcChar8 *base = FcStrBasename (FcValueString (&l->value));
|
FcChar8 *base = FcStrBasename (FcValueString (&l->value));
|
||||||
|
|
Loading…
Reference in New Issue