]> git.sur5r.net Git - i3/i3/blobdiff - src/config.c
Merge branch 'master' into next
[i3/i3] / src / config.c
index 4757db20708458cec43adcbf5be0519b077c15d0..c5846279658dcd7426d86c88b814de0041be3e3f 100644 (file)
@@ -1,4 +1,5 @@
-#line 2 "config.c"
+#undef I3__FILE__
+#define I3__FILE__ "config.c"
 /*
  * vim:ts=4:sw=4:expandtab
  *
@@ -393,7 +394,7 @@ void load_configuration(xcb_connection_t *conn, const char *override_configpath,
         grab_all_keys(conn, false);
     }
 
-    if (config.font.id == 0) {
+    if (config.font.type == FONT_TYPE_NONE) {
         ELOG("You did not specify required configuration option \"font\"\n");
         config.font = load_font("fixed", true);
         set_font(&config.font);