diff --git a/src/lottie/lottiemodel.h b/src/lottie/lottiemodel.h index 9cf17b2897..ac2b407649 100644 --- a/src/lottie/lottiemodel.h +++ b/src/lottie/lottiemodel.h @@ -138,7 +138,7 @@ inline T lerp(const T& start, const T& end, float t) inline LottieShapeData lerp(const LottieShapeData& start, const LottieShapeData& end, float t) { - if (start.mPoints.size() != start.mPoints.size()) + if (start.mPoints.size() != end.mPoints.size()) return LottieShapeData(); LottieShapeData result;