Style change
!stops -> stops == NULL
This commit is contained in:
parent
7f38f873bc
commit
0cda96c5ba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user