mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-14 12:04:29 +00:00
wasm: fix typo
This commit is contained in:
parent
89031244cd
commit
52c44287c6
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ public:
|
|||
if (engine == "sw") this->engine = new TvgSwEngine;
|
||||
else if (engine == "wg") this->engine = new TvgWgEngine;
|
||||
|
||||
if (!engine) {
|
||||
if (!this->engine) {
|
||||
errorMsg = "Invalid engine";
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue