coding style

This commit is contained in:
lieff 2017-04-21 21:42:46 +03:00
parent 64c8b0c00c
commit c28363f9fb

View File

@ -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;