Skip lines consisting only of “set”

This commit is contained in:
Michael Stapelberg 2017-08-20 12:57:04 +02:00
parent dd019f59fa
commit 8cc11dcb08
1 changed files with 1 additions and 1 deletions

View File

@ -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'};