findsubckt(), move k_ptr-- to the front of the next loop

This commit is contained in:
rlar 2016-05-14 11:14:04 +02:00
parent d2dac0ea9d
commit b0b4551d68
1 changed files with 3 additions and 3 deletions

View File

@ -558,10 +558,10 @@ findsubckt(dico_t *dico, const char * const s)
while ((k_ptr - 1 >= s) && (*(k_ptr-1) <= ' ')) while ((k_ptr - 1 >= s) && (*(k_ptr-1) <= ' '))
k_ptr--; k_ptr--;
j_ptr = k_ptr - 1;
k_ptr--; k_ptr--;
j_ptr = k_ptr;
while ((k_ptr >= s) && (*k_ptr > ' ')) while ((k_ptr >= s) && (*k_ptr > ' '))
k_ptr--; k_ptr--;