mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
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:
commit
319b388b42
2
conf.c
2
conf.c
@ -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++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user