bug no. 2293284 removed (preliminary)

This commit is contained in:
h_vogt 2009-01-31 15:17:48 +00:00
parent 67bf8c93cc
commit 55f5956bd1
2 changed files with 7 additions and 6 deletions

View File

@ -1,7 +1,8 @@
2009-01-31 Holger Vogt
* xpressn.c, spicenum.c, numparam.h, runcoms.c, runcoms2.c:
Incompatibilty to MAC OSX removed by proper variable declarations
* subckt.c: bug no. 2293284: preliminary change, further tests required
2009-01-26 Lionel Sainte Cluque
* man/man1/ngspice.1,
* man/man1/nutmeg.1:

View File

@ -1195,20 +1195,20 @@ finishLine(char *dst, char *src, char *scname)
}
else { /* just a normal netname . . . . */
/*
*
* i(vname) -> i(v.subckt.vname)
*/
if ((which == 'i' || which == 'I') &&
(buf[0] == 'v' || buf[0] == 'V')) {
*dst++ = buf[0];
*dst++ = '.';
i = 1;
} else {
/*i = 1; */
} /* else {
i = 0;
}
} */
for (s = scname; *s; )
*dst++ = *s++;
*dst++ = '.';
for (s = buf + i; *s; )
for (s = buf/* + i*/; *s; )
*dst++ = *s++;
}