cvsimport

* refs/heads/master:
  add a column to previous commit for consitency.
  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:59:48 +00:00
commit 319b388b42

2
conf.c
View File

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