main fix 1

This commit is contained in:
Jim Holmes 2014-10-12 23:28:06 +02:00 committed by rlar
parent eccc3bbd77
commit 5aab807b74
1 changed files with 1 additions and 1 deletions

View File

@ -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 {