fixed several stuff (gridwm gets better and better)
This commit is contained in:
parent
366d81e313
commit
16c67f32d6
10 changed files with 59 additions and 141 deletions
4
font.c
4
font.c
|
@ -38,7 +38,7 @@ loadfont(Blitz *blitz, BlitzFont *font)
|
|||
font->set = XCreateFontSet(blitz->dpy, fontname, &missing, &n, &def);
|
||||
if(missing) {
|
||||
while(n--)
|
||||
fprintf(stderr, "liblitz: missing fontset: %s\n", missing[n]);
|
||||
fprintf(stderr, "missing fontset: %s\n", missing[n]);
|
||||
XFreeStringList(missing);
|
||||
if(font->set) {
|
||||
XFreeFontSet(blitz->dpy, font->set);
|
||||
|
@ -72,7 +72,7 @@ loadfont(Blitz *blitz, BlitzFont *font)
|
|||
font->xfont = XLoadQueryFont(blitz->dpy, fontname);
|
||||
}
|
||||
if (!font->xfont) {
|
||||
fprintf(stderr, "%s", "liblitz: error, cannot load 'fixed' font\n");
|
||||
fprintf(stderr, "%s", "error, cannot load 'fixed' font\n");
|
||||
exit(1);
|
||||
}
|
||||
font->ascent = font->xfont->ascent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue