Skip lines consisting only of “set”
This commit is contained in:
parent
dd019f59fa
commit
8cc11dcb08
|
@ -937,7 +937,7 @@ bool parse_file(const char *f, bool use_nagbar) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcasecmp(key, "set") == 0) {
|
if (strcasecmp(key, "set") == 0 && *value != '\0') {
|
||||||
char v_key[512];
|
char v_key[512];
|
||||||
char v_value[4096] = {'\0'};
|
char v_value[4096] = {'\0'};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue