Commit f8e22fd6 authored by Behdad Esfahbod's avatar Behdad Esfahbod

Put back accidentally removed code

parent 6d1d44d5
......@@ -692,6 +692,8 @@ FcFontRenderPrepare (FcConfig *config,
if (!l)
goto bail0;
dir = FcStrDirname (FcValueString (&l->value));
if (!config)
config = FcConfigGetCurrent ();
if (config && FcHashTableFind (config->alias_table, dir, (void **) &alias))
FcChar8 *base = FcStrBasename (FcValueString (&l->value));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment