diff options
author | matthieu <matthieu> | 2016-08-13 09:58:37 +0000 |
---|---|---|
committer | matthieu <matthieu> | 2016-08-13 09:58:37 +0000 |
commit | 375368a94c5c5682ea516a4164c3b55792b8c56f (patch) | |
tree | 1bd25d12bb1e5b339c76212882565bd61e1744be | |
parent | ffc365bc5d1c5dee337a2869fcc728f46dd262a8 (diff) | |
download | cwm-375368a94c5c5682ea516a4164c3b55792b8c56f.tar.gz cwm-375368a94c5c5682ea516a4164c3b55792b8c56f.tar.xz cwm-375368a94c5c5682ea516a4164c3b55792b8c56f.zip |
conf_screen: report the fontname that can't be opened in case of failure.
ok dcoppa@
-rw-r--r-- | conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.c b/conf.c index 0ef1e37..2e46f15 100644 --- a/conf.c +++ b/conf.c @@ -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++) { |