defsubckt(), fix lvalue
This commit is contained in:
parent
4e89b80a75
commit
deca1a05ed
|
|
@ -513,8 +513,7 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
|
||||||
bool err;
|
bool err;
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
const char * const ls_ptr;
|
const char * const ls_ptr = s + strlen(s);
|
||||||
(ls_ptr - s) = (int) strlen(s);
|
|
||||||
i = 0;
|
i = 0;
|
||||||
|
|
||||||
while ((i < (ls_ptr - s)) && (s[i] != '.'))
|
while ((i < (ls_ptr - s)) && (s[i] != '.'))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue