diff --git a/src/sharedspice.c b/src/sharedspice.c index a145bc4e1..306029d55 100644 --- a/src/sharedspice.c +++ b/src/sharedspice.c @@ -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; }