findsubckt(), exclude the terminating '\0' from the search
This commit is contained in:
parent
a0f9b2bf0f
commit
e1f5609568
|
|
@ -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…
Reference in New Issue