getword(), fix lvalue
This commit is contained in:
parent
2514664f7a
commit
52ec0a262c
|
|
@ -1324,7 +1324,7 @@ getword(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
|
||||||
iptr = *pi;
|
iptr = *pi;
|
||||||
const char *ls_ptr;
|
const char *ls_ptr;
|
||||||
|
|
||||||
(ls_ptr - s) = (int) strlen(s);
|
ls_ptr = s + (int) strlen(s);
|
||||||
|
|
||||||
do
|
do
|
||||||
iptr++;
|
iptr++;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue