Fix thinko causing possible memory corruption.

git-svn-id: svn://localhost/ardour2/branches/3.0@12040 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-04-19 23:54:05 +00:00
parent 55ed8756bb
commit cfbc2e2438

View File

@ -301,7 +301,7 @@ Curve::_get_vector (double x0, double x1, float *vec, int32_t veclen)
vec[i] = (lx * (m_num / m_den) + m_num * i * dx_num / (m_den * dx_den)) + c;
}
} else {
vec[i] = lx;
vec[0] = lx;
}
return;