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:
parent
55ed8756bb
commit
cfbc2e2438
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user