correct zeroing of allplots array
This commit is contained in:
parent
80296e8508
commit
64005e639f
|
|
@ -1018,7 +1018,7 @@ char** ngSpice_AllPlots(void)
|
|||
allplots[i] = pl->pl_typename;
|
||||
pl = pl->pl_next;
|
||||
}
|
||||
allplots[len] = '\0';
|
||||
allplots[len] = NULL;
|
||||
return allplots;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue