From 8cc11dcb08985b980d5be41d4da5c31c652b6737 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 20 Aug 2017 12:57:04 +0200 Subject: [PATCH] =?UTF-8?q?Skip=20lines=20consisting=20only=20of=20?= =?UTF-8?q?=E2=80=9Cset=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_parser.c b/src/config_parser.c index 0fcdeb6e..24a9bbfb 100644 --- a/src/config_parser.c +++ b/src/config_parser.c @@ -937,7 +937,7 @@ bool parse_file(const char *f, bool use_nagbar) { continue; } - if (strcasecmp(key, "set") == 0) { + if (strcasecmp(key, "set") == 0 && *value != '\0') { char v_key[512]; char v_value[4096] = {'\0'};