aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index c63ac08..e4c4903 100644
--- a/main.c
+++ b/main.c
@@ -135,6 +135,8 @@ initfont(const char *fontstr) {
135 char *def, **missing; 135 char *def, **missing;
136 int i, n; 136 int i, n;
137 137
138 if(!fontstr || fontstr[0] == '\0')
139 eprint("error, cannot load font: '%s'\n", fontstr);
138 missing = NULL; 140 missing = NULL;
139 if(dc.font.set) 141 if(dc.font.set)
140 XFreeFontSet(dpy, dc.font.set); 142 XFreeFontSet(dpy, dc.font.set);