findsubckt(), move k_ptr-- beyond the loop
This commit is contained in:
parent
e1f5609568
commit
d2dac0ea9d
|
|
@ -556,9 +556,9 @@ findsubckt(dico_t *dico, const char * const s)
|
||||||
|
|
||||||
spice_dstring_init(&ustr);
|
spice_dstring_init(&ustr);
|
||||||
|
|
||||||
k_ptr--;
|
while ((k_ptr - 1 >= s) && (*(k_ptr-1) <= ' '))
|
||||||
while ((k_ptr >= s) && (*k_ptr <= ' '))
|
|
||||||
k_ptr--;
|
k_ptr--;
|
||||||
|
k_ptr--;
|
||||||
|
|
||||||
j_ptr = k_ptr;
|
j_ptr = k_ptr;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue