From 0497f2457058ba1d6a292107e0d7242b6be05ff7 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 12 Jan 2024 15:02:40 +0900 Subject: [PATCH] web: quick fix of mistake during the migration. --- src/bindings/wasm/tvgWasmLottieAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/wasm/tvgWasmLottieAnimation.cpp b/src/bindings/wasm/tvgWasmLottieAnimation.cpp index ce9719cb..3d35f0bb 100644 --- a/src/bindings/wasm/tvgWasmLottieAnimation.cpp +++ b/src/bindings/wasm/tvgWasmLottieAnimation.cpp @@ -93,7 +93,7 @@ public: filetype = "lottie"; } - if (animation->picture()->load(data.c_str(), data.size(), mimetype, false) != Result::Success) { + if (animation->picture()->load(data.c_str(), data.size(), filetype, false) != Result::Success) { errorMsg = "load() fail"; return false; }