Style change

!stops -> stops == NULL
This commit is contained in:
Christoph Neuhauser 2015-05-27 14:52:36 +02:00
parent 7f38f873bc
commit 0cda96c5ba

View File

@ -727,7 +727,7 @@ static NSVGgradient* nsvg__createGradient(NSVGparser* p, const char* id, const f
// TODO: use ref to fill in all unset values too.
ref = data;
while (ref != NULL) {
if (!stops && ref->stops != NULL) {
if (stops == NULL && ref->stops != NULL) {
stops = ref->stops;
nstops = ref->nstops;
break;