defsubckt(), transform pscopy(,x,y,) --> pscopy(,x+y,y-y,) (requirement strlen(x) >= y to be verified later)

This commit is contained in:
rlar 2016-05-08 18:56:29 +02:00
parent 44a17a14f7
commit 10e9760f13
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ defsubckt(dico_t *dico, struct card *card, nupa_type categ)
if (j_ptr > i_ptr) {
SPICE_DSTRING ustr; /* temp user string */
spice_dstring_init(&ustr);
pscopy_up(&ustr, s, (int) (i_ptr - s), (int) (j_ptr - i_ptr));
pscopy_up(&ustr, i_ptr, 0, (int) (j_ptr - i_ptr));
err = nupa_define(dico, spice_dstring_value(&ustr), ' ', categ, 0.0, w, NULL);
spice_dstring_free(&ustr);
} else {