binding: fix compile error.
authorHermet Park <hermetpark@gmail.com>
Fri, 7 Sep 2018 11:33:33 +0000 (20:33 +0900)
committerHermet Park <hermetpark@gmail.com>
Fri, 7 Sep 2018 11:33:33 +0000 (20:33 +0900)
Change-Id: I3c5b0390f39ca885529475330a73f9af7dee29d0

src/binding/c/lottieanimation_capi.cpp

index c4ac80e..cd500da 100644 (file)
@@ -96,7 +96,7 @@ LOT_EXPORT const LOTNode* lottie_animation_get_node(const Lottie_Animation_S *an
 
    if (idx >= animation->mArraySize) return nullptr;
 
-   return animation->mAnimation->renderList(animation->mFrameNo, animation->w, animation->h)[idx];
+   return animation->mAnimation->renderList(animation->mFrameNo, animation->mWidth, animation->mHeight)[idx];
 }
 
 LOT_EXPORT void