Browse Source

findsubckt(), exclude the terminating '\0' from the search

pre-master-46
rlar 10 years ago
parent
commit
e1f5609568
  1. 1
      src/frontend/numparam/xpressn.c

1
src/frontend/numparam/xpressn.c

@ -556,6 +556,7 @@ findsubckt(dico_t *dico, const char * const s)
spice_dstring_init(&ustr);
k_ptr--;
while ((k_ptr >= s) && (*k_ptr <= ' '))
k_ptr--;

Loading…
Cancel
Save