Browse Source

fixed diagnostic error message

config
arg@mig29 18 years ago
parent
commit
ac6e34ea06
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      draw.c

+ 1
- 1
draw.c View File

@ -198,7 +198,7 @@ setfont(const char *fontstr) {
XFreeFont(dpy, dc.font.xfont);
dc.font.xfont = NULL;
if(!(dc.font.xfont = XLoadQueryFont(dpy, fontstr)))
eprint("error, cannot init 'fixed' font\n");
eprint("error, cannot load font: '%s'\n", fontstr);
dc.font.ascent = dc.font.xfont->ascent;
dc.font.descent = dc.font.xfont->descent;
}


Loading…
Cancel
Save