summaryrefslogtreecommitdiffstats
path: root/font.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-11 12:52:57 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-11 12:52:57 +0200
commit16c67f32d62849792c8e6d4fdec22a1896f9c279 (patch)
treecb18262f3e207d8229bf0f8833f602a7b7903b03 /font.c
parentadded key handling (diff)
downloaddwm-16c67f32d62849792c8e6d4fdec22a1896f9c279.tar.gz
dwm-16c67f32d62849792c8e6d4fdec22a1896f9c279.zip
fixed several stuff (gridwm gets better and better)
Diffstat (limited to 'font.c')
-rw-r--r--font.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/font.c b/font.c
index 99301b5..a6b8225 100644
--- a/font.c
+++ b/font.c
@@ -38,7 +38,7 @@ loadfont(Blitz *blitz, BlitzFont *font)
38 font->set = XCreateFontSet(blitz->dpy, fontname, &missing, &n, &def); 38 font->set = XCreateFontSet(blitz->dpy, fontname, &missing, &n, &def);
39 if(missing) { 39 if(missing) {
40 while(n--) 40 while(n--)
41 fprintf(stderr, "liblitz: missing fontset: %s\n", missing[n]); 41 fprintf(stderr, "missing fontset: %s\n", missing[n]);
42 XFreeStringList(missing); 42 XFreeStringList(missing);
43 if(font->set) { 43 if(font->set) {
44 XFreeFontSet(blitz->dpy, font->set); 44 XFreeFontSet(blitz->dpy, font->set);
@@ -72,7 +72,7 @@ loadfont(Blitz *blitz, BlitzFont *font)
72 font->xfont = XLoadQueryFont(blitz->dpy, fontname); 72 font->xfont = XLoadQueryFont(blitz->dpy, fontname);
73 } 73 }
74 if (!font->xfont) { 74 if (!font->xfont) {
75 fprintf(stderr, "%s", "liblitz: error, cannot load 'fixed' font\n"); 75 fprintf(stderr, "%s", "error, cannot load 'fixed' font\n");
76 exit(1); 76 exit(1);
77 } 77 }
78 font->ascent = font->xfont->ascent; 78 font->ascent = font->xfont->ascent;