From 5faa099cd5fb8d9d9f868362233929ff36cd0ac8 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 3 Mar 2002 18:35:22 +0000 Subject: [PATCH] fontconfig: bail scanning directory on fatal error --- src/fcdir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5