coding style
This commit is contained in:
parent
64c8b0c00c
commit
c28363f9fb
@ -998,11 +998,10 @@ static void nsvg__addShape(NSVGparser* p)
|
||||
shape->flags = (attr->visible ? NSVG_FLAGS_VISIBLE : 0x00);
|
||||
|
||||
// Add to tail
|
||||
if (NULL == p->image->shapes) {
|
||||
if (p->image->shapes == NULL)
|
||||
p->image->shapes = shape;
|
||||
} else {
|
||||
else
|
||||
p->shapesTail->next = shape;
|
||||
}
|
||||
p->shapesTail = shape;
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user