Fixed issue #6

- fixed endless loop in nsvg__findGradientData
This commit is contained in:
Mikko Mononen 2014-03-29 10:03:49 +02:00
parent 507bdf4653
commit 1b894120be

View File

@ -663,6 +663,7 @@ static struct NSVGgradientData* nsvg__findGradientData(struct NSVGparser* p, con
while (grad) {
if (strcmp(grad->id, id) == 0)
return grad;
grad = grad->next;
}
return NULL;
}