nupa_copy(), fix lvalue

This commit is contained in:
rlar 2017-12-26 15:19:14 +01:00
parent 06708f1ed1
commit ec24c1ded7
1 changed files with 2 additions and 2 deletions

View File

@ -700,10 +700,10 @@ nupa_copy(struct card *deck)
SPICE_DSTRING u;
spice_dstring_init(&u);
(s_end - s) = (int) strlen(s);
s_end = s + (int) strlen(s);
while ((s_end - s > 0) && (s[s_end - s - 1] <= ' '))
(s_end - s)--;
s_end--;
pscopy(&u, s, s + (s_end - s)); /* strip trailing space, CrLf and so on */
dicoS->srcline = linenum;