rcfile: don't break a chain of 'else if' [scan-build]
The mistake was made when 'guidestripe' was added, in commit 66c6eb51
.
master
parent
671db5e1e3
commit
947ccbb597
|
@ -1126,8 +1126,7 @@ void parse_rcfile(FILE *rcstream, bool syntax_only)
|
|||
stripe_column = 0;
|
||||
}
|
||||
free(option);
|
||||
}
|
||||
if (strcasecmp(rcopts[i].name, "matchbrackets") == 0) {
|
||||
} else if (strcasecmp(rcopts[i].name, "matchbrackets") == 0) {
|
||||
if (has_blank_char(option)) {
|
||||
rcfile_error(N_("Non-blank characters required"));
|
||||
free(option);
|
||||
|
|
Loading…
Reference in New Issue