Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master
This commit is contained in:
commit
73773521f8
|
|
@ -457,7 +457,7 @@ struct dvec *vec_fromplot(char *word, struct plot *plot) {
|
|||
if (word[1] == '(') { /* x(, x != '(' */
|
||||
const char * const p_last_close_paren = strrchr(word + 2, ')');
|
||||
if (p_last_close_paren != (char *) NULL &&
|
||||
p_last_close_paren - word > (ptrdiff_t) 3 &&
|
||||
p_last_close_paren - word > (ptrdiff_t) 2 &&
|
||||
p_last_close_paren[1] == '\0') {
|
||||
/* Of form x(node). Create node string. */
|
||||
DS_CREATE(ds, 100);
|
||||
|
|
|
|||
Loading…
Reference in New Issue