Browse Source

Remove a false read when curr_line has

already been invalidated.
pre-master-46
Holger Vogt 5 years ago
parent
commit
ae72677cc2
  1. 2
      src/frontend/inpcom.c

2
src/frontend/inpcom.c

@ -7477,7 +7477,7 @@ static void inp_meas_current(struct card *deck)
* line */ * line */
if (s && s > v) { if (s && s > v) {
/* %i( may be part of the node definition in a XSPICE instance, so skip it here */ /* %i( may be part of the node definition in a XSPICE instance, so skip it here */
if (*curr_line == 'a' && s[-1] == '%') {
if (*v == 'a' && s[-1] == '%') {
s++; s++;
continue; continue;
} }

Loading…
Cancel
Save