mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
lottie: hotfix a crash
Fixed a mistake during the code merge. issue: https://github.com/thorvg/thorvg/issues/2733
This commit is contained in:
parent
c9960fcc93
commit
066160a82a
1 changed files with 2 additions and 0 deletions
|
@ -192,6 +192,8 @@ bool LottieLoader::open(const char* data, uint32_t size, bool copy)
|
|||
const_cast<char*>(content)[size] = '\0';
|
||||
} else content = data;
|
||||
|
||||
this->dirName = strdup(".");
|
||||
|
||||
this->size = size;
|
||||
this->copy = copy;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue