From 5aab807b74f6d0ce175a19bfac9674992a0dafb8 Mon Sep 17 00:00:00 2001 From: Jim Holmes Date: Sun, 12 Oct 2014 23:28:06 +0200 Subject: [PATCH] main fix 1 --- src/frontend/plotting/plotcurv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/plotting/plotcurv.c b/src/frontend/plotting/plotcurv.c index f04ddb65f..a1ec4278c 100644 --- a/src/frontend/plotting/plotcurv.c +++ b/src/frontend/plotting/plotcurv.c @@ -137,7 +137,7 @@ ft_graf(struct dvec *v, struct dvec *xs, bool nostart) dy = isreal(v) ? v->v_realdata[i] : realpart(v->v_compdata[i]); if ((i == 0 || (dir > 0 ? lx > dx : dir < 0 ? lx < dx : 0)) && - xs->v_plot && xs->v_plot->pl_scale == xs) + xs->v_plot && xs->v_plot->pl_scale && xs->v_plot->pl_scale == xs) { gr_point(v, dx, dy, lx, ly, 0); } else {