]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks...
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 29 Jun 2013 21:46:53 +0000 (23:46 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 29 Jun 2013 21:46:53 +0000 (23:46 +0200)
fixes #1030

src/config_parser.c

index 1cdc7acba8cd745fd1ba4803dbb41233996d5061..a3730233aec5d1a4fd4ed8dc136291d5523eca0b 100644 (file)
@@ -1060,7 +1060,7 @@ void parse_file(const char *f) {
         char *argv[] = {
             NULL, /* will be replaced by the executable path */
             "-f",
-            config.font.pattern,
+            (config.font.pattern ? config.font.pattern : "fixed"),
             "-t",
             (context->has_errors ? "error" : "warning"),
             "-m",