mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-19 06:44:44 +03:00
rcfile: don't break a chain of 'else if' [scan-build]
The mistake was made when 'guidestripe' was added, in commit 66c6eb51.
This commit is contained in:
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…
x
Reference in New Issue
Block a user