conf_screen: report the fontname that can't be opened in case of failure.

ok dcoppa@
This commit is contained in:
matthieu 2016-08-13 09:58:37 +00:00
parent ffc365bc5d
commit 375368a94c

2
conf.c
View File

@ -138,7 +138,7 @@ conf_screen(struct screen_ctx *sc)
if (sc->xftfont == NULL) {
sc->xftfont = XftFontOpenName(X_Dpy, sc->which, Conf.font);
if (sc->xftfont == NULL)
errx(1, "XftFontOpenName");
errx(1, "XftFontOpenName %s", Conf.font);
}
for (i = 0; i < nitems(color_binds); i++) {