findsubckt(), move k_ptr-- beyond the loop

This commit is contained in:
rlar 2016-05-14 11:13:06 +02:00
parent e1f5609568
commit d2dac0ea9d
1 changed files with 2 additions and 2 deletions

View File

@ -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;