From 68e51848a493c3cb4cd9b239b9d1d7e826139367 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 18 Jun 2021 16:28:16 +0200 Subject: [PATCH] logic condition to check only 'x' lines had not been given --- src/frontend/inpcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index c4bfc4cd5..c71662238 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -695,7 +695,7 @@ void inp_get_w_l_x(struct card* card) { continue; } /* only subcircuit invocations */ - if (*curr_line != 'x' && !newcompat.hs && !newcompat.spe) { + if (*curr_line != 'x' || (!newcompat.hs && !newcompat.spe)) { continue; }