summaryrefslogtreecommitdiff
path: root/math/genius/patches/patch-aa
blob: 525da1867a26f42605ae06bbf6bdfb36564a1368 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$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];