]> git.wh0rd.org Git - fontconfig.git/commitdiff
fontconfig: bail scanning directory on fatal error
authorKeith Packard <keithp@keithp.com>
Sun, 3 Mar 2002 18:35:22 +0000 (18:35 +0000)
committerKeith Packard <keithp@keithp.com>
Sun, 3 Mar 2002 18:35:22 +0000 (18:35 +0000)
src/fcdir.c

index cf0b154e338c842fcf37138c47ce3304f08ae632..c8284368243dfb0b3dd279c4a039c0ecd8f84bb5 100644 (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);