projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.ksu.edu.tw/FTP/FreeBSD/distfiles/xscreensaver-4.24.tar.gz
[xscreensaver]
/
hacks
/
fontglide.c
diff --git
a/hacks/fontglide.c
b/hacks/fontglide.c
index ee1cb2525e3108d66dbd7e192803384f0514e515..c1e4bdd343623857a64e3696620194851132a6e9 100644
(file)
--- a/
hacks/fontglide.c
+++ b/
hacks/fontglide.c
@@
-284,8
+284,9
@@
pick_font_1 (state *s, sentence *se)
se->font = XLoadQueryFont (s->dpy, pattern);
if (! se->font)
{
se->font = XLoadQueryFont (s->dpy, pattern);
if (! se->font)
{
- fprintf (stderr, "%s: unable to load font %s\n",
- progname, pattern);
+ if (s->debug_p)
+ fprintf (stderr, "%s: unable to load font %s\n",
+ progname, pattern);
return False;
}
return False;
}
@@
-325,7
+326,7
@@
pick_font (state *s, sentence *se)
for (i = 0; i < 20; i++)
if (pick_font_1 (s, se))
return;
for (i = 0; i < 20; i++)
if (pick_font_1 (s, se))
return;
- fprintf (stderr, "%s: too many failures: giving up!\n", progname);
+ fprintf (stderr, "%s: too many f
ont-loading f
ailures: giving up!\n", progname);
exit (1);
}
exit (1);
}