diff options
author | matthieu | 2016-08-13 09:58:37 +0000 |
---|---|---|
committer | matthieu | 2016-08-13 09:58:37 +0000 |
commit | 3b04044869d912cfb2dc8e5c5b58ae5527818eb9 (patch) | |
tree | 0b3468222a81d5d7fe1eda87a8a27adecc9c673d | |
parent | b28fd6720f782f955c8dc63381d64c6010670791 (diff) | |
download | cwm-3b04044869d912cfb2dc8e5c5b58ae5527818eb9.tar.gz |
conf_screen: report the fontname that can't be opened in case of failure.
ok dcoppa@
-rw-r--r-- | conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.202 2015/11/17 15:19:19 okan Exp $ + * $OpenBSD: conf.c,v 1.203 2016/08/13 09:58:37 matthieu Exp $ */ #include <sys/types.h> @@ -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++) { |