inp.c, .if: enable multiple .elseif sections

This commit is contained in:
Holger Vogt 2018-11-06 23:00:04 +01:00
parent 639bfc6280
commit 0a50acbb66
1 changed files with 1 additions and 1 deletions

View File

@ -1692,7 +1692,7 @@ recifeval(struct card *pdeck)
s = nd->line;
if (ciprefix(".if", nd->line))
recifeval(nd);
else if (ciprefix(".elseif", nd->line)) {
else if (ciprefix(".elseif", nd->line) && elseiftrue == 0) {
elsefound = 0;
elseiffound = 1;
iffound = 0;