Bugfix: call i3-nagbar correctly for configfiles without the font directive (Thanks xeen)

fixes #1030
This commit is contained in:
Michael Stapelberg 2013-06-29 23:46:53 +02:00
parent 73508dec0c
commit e8759691b8

View File

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