Commit f0f9a44f authored by olau@iola.dk's avatar olau@iola.dk

Fixed bug with null point


git-svn-id: https://flot.googlecode.com/svn/trunk@160 1e0a6537-2640-0410-bfb7-f154510ff394
parent d3acc16e
......@@ -412,7 +412,7 @@
}
for (m = 2; m < ps; ++m)
points[k + m] = p[m] == null ? format[m-2].d : p[m];
points[k + m] = p == null || p[m] == null ? format[m-2].d : p[m];
points[k] = x;
points[k + 1] = y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment