mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 21:53:41 +00:00
fix typo
This commit is contained in:
parent
d4515d2732
commit
d13cd37094
1 changed files with 2 additions and 2 deletions
|
@ -2255,7 +2255,7 @@ static SvgStyleGradient* _gradientDup(Array<SvgStyleGradient*>* gradients, strin
|
||||||
|
|
||||||
static void _updateGradient(SvgNode* node, Array<SvgStyleGradient*>* gradidents)
|
static void _updateGradient(SvgNode* node, Array<SvgStyleGradient*>* gradidents)
|
||||||
{
|
{
|
||||||
if (node->child.data > 0) {
|
if (node->child.count > 0) {
|
||||||
auto child = node->child.data;
|
auto child = node->child.data;
|
||||||
for (uint32_t i = 0; i < node->child.count; ++i, ++child) {
|
for (uint32_t i = 0; i < node->child.count; ++i, ++child) {
|
||||||
_updateGradient(*child, gradidents);
|
_updateGradient(*child, gradidents);
|
||||||
|
|
Loading…
Add table
Reference in a new issue