defsubckt(), fix lvalue

This commit is contained in:
rlar 2017-11-18 17:21:18 +01:00
parent d73a265c45
commit 9a64579db6
1 changed files with 2 additions and 2 deletions

View File

@ -525,10 +525,10 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
while (((i_ptr - s) < (ls_ptr - s)) && (s[(i_ptr - s)] <= ' '))
i_ptr++; /* skip blank */
(j_ptr - s) = (int) (i_ptr - s);
j_ptr = i_ptr;
while (((j_ptr - s) < (ls_ptr - s)) && (s[(j_ptr - s)] > ' '))
(j_ptr - s)++;
j_ptr++;
if ((j_ptr - s) > (i_ptr - s)) {
SPICE_DSTRING ustr; /* temp user string */