fontconfig: bail scanning directory on fatal error
This commit is contained in:
parent
17e16fa110
commit
5faa099cd5
|
@ -148,7 +148,7 @@ FcDirScan (FcFontSet *set,
|
|||
if (e->d_name[0] != '.')
|
||||
{
|
||||
strcpy ((char *) base, (char *) e->d_name);
|
||||
FcFileScan (set, cache, blanks, file, force);
|
||||
ret = FcFileScan (set, cache, blanks, file, force);
|
||||
}
|
||||
}
|
||||
free (file);
|
||||
|
|
Loading…
Reference in New Issue