diff options
author | Keith Packard <keithp@keithp.com> | 2002-08-13 02:06:22 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2002-08-13 02:06:22 +0000 |
commit | 5d43e799197d2758102b699f9bc12b3c116a9b80 (patch) | |
tree | a2a669e8b413dd7bc33a7dcd5d460f39105c2abf /fc-cache | |
parent | eafc0e51af7ecb6ea7d33b59932212bdfd1d67ab (diff) |
Make missing font directory messages only displayed when verbose
Diffstat (limited to 'fc-cache')
-rw-r--r-- | fc-cache/fc-cache.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 4ce612f8..00cf7fde 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -1,5 +1,5 @@ /* - * $XFree86: xc/lib/fontconfig/fc-cache/fc-cache.c,v 1.6 2002/07/01 05:11:20 keithp Exp $ + * $XFree86: xc/lib/fontconfig/fc-cache/fc-cache.c,v 1.7 2002/08/11 15:09:33 keithp Exp $ * * Copyright © 2002 Keith Packard, member of The XFree86 Project, Inc. * @@ -132,7 +132,8 @@ scanDirs (FcStrList *list, FcConfig *config, char *program, FcBool force, FcBool { if (errno == ENOENT || errno == ENOTDIR) { - fprintf (stderr, "\"%s\": no such directory, skipping\n", dir); + if (verbose) + printf ("no such directory, skipping\n"); } else { |