[hackers] [wmii] No one cares about missing fontsets. || Kris Maglione

From: <hg_AT_suckless.org>
Date: Tue, 20 Oct 2009 05:41:16 +0000 (UTC)

changeset: 2558:36bc6d4ac065
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Tue Oct 20 01:40:59 2009 -0400
files: cmd/wmii/x11.c
description:
No one cares about missing fontsets.

diff -r 0e4ad0f7f71f -r 36bc6d4ac065 cmd/wmii/x11.c
--- a/cmd/wmii/x11.c Sun Oct 18 18:07:35 2009 -0400
+++ b/cmd/wmii/x11.c Tue Oct 20 01:40:59 2009 -0400
@@ -689,13 +689,15 @@
         }else {
                 f->font.set = XCreateFontSet(display, name, &missing, &n, nil);
                 if(missing) {
- b = Bfdopen(dup(2), O_WRONLY);
- Bprint(b, "%s: note: missing fontset%s for '%s':", argv0,
- (n > 1 ? "s" : ""), name);
- for(i = 0; i < n; i++)
- Bprint(b, "%s %s", (i ? "," : ""), missing[i]);
- Bprint(b, "\n");
- Bterm(b);
+ if(false) {
+ b = Bfdopen(dup(2), O_WRONLY);
+ Bprint(b, "%s: note: missing fontset%s for '%s':", argv0,
+ (n > 1 ? "s" : ""), name);
+ for(i = 0; i < n; i++)
+ Bprint(b, "%s %s", (i ? "," : ""), missing[i]);
+ Bprint(b, "\n");
+ Bterm(b);
+ }
                         freestringlist(missing);
                 }
 
Received on Tue Oct 20 2009 - 05:41:16 UTC

This archive was generated by hypermail 2.2.0 : Tue Oct 20 2009 - 05:48:06 UTC