From: Keith Packard Date: Sun, 3 Mar 2002 18:35:22 +0000 (+0000) Subject: fontconfig: bail scanning directory on fatal error X-Git-Tag: xf-4_2_99_1~33 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5faa099cd5fb8d9d9f868362233929ff36cd0ac8;p=fontconfig.git fontconfig: bail scanning directory on fatal error --- diff --git a/src/fcdir.c b/src/fcdir.c index cf0b154..c828436 100644 --- a/src/fcdir.c +++ b/src/fcdir.c @@ -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);