From: Michael Stapelberg Date: Sat, 29 Jun 2013 21:46:53 +0000 (+0200) Subject: Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks... X-Git-Tag: 4.6~9^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8759691b8fdac7f964626c357dd6512a698ea2f;p=i3%2Fi3 Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks xeen) fixes #1030 --- diff --git a/src/config_parser.c b/src/config_parser.c index 1cdc7acb..a3730233 100644 --- a/src/config_parser.c +++ b/src/config_parser.c @@ -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",