$NetBSD: patch-aa,v 1.3 2009/04/08 18:22:54 drochner Exp $ --- src/graphing.c.orig 2009-04-08 20:15:12.000000000 +0200 +++ src/graphing.c @@ -4629,6 +4629,7 @@ plot_from_dialog_lineplot (void) line_plot_clear_funcs (); + j = 0; for (i = 0; i < MAXFUNC; i++) { if (func[i] != NULL) { plot_func[j] = func[i];