fontconfig: bail scanning directory on fatal error

This commit is contained in:
Keith Packard 2002-03-03 18:35:22 +00:00
parent 17e16fa110
commit 5faa099cd5
1 changed files with 1 additions and 1 deletions

View File

@ -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);