lottie: fix a simple mistake.

This commit is contained in:
Hermet Park 2024-02-02 03:01:19 +09:00 committed by Hermet Park
parent a1c43a9518
commit a2defaf694

View file

@ -738,7 +738,7 @@ static void _updateImage(LottieGroup* parent, LottieObject** child, float frameN
break;
}
}
} else if (picture->load(image->path) != Result::Success) succeed = true;
} else if (picture->load(image->path) == Result::Success) succeed = true;
if (!succeed) {
delete(picture);