diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-11-10 10:37:56 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-04-25 09:09:45 -0400 |
commit | b22c684695e5b36745e4163f9e78b6065afbe478 (patch) | |
tree | f0b7df827292425c6c4fdcfd9afa421c1e376e91 | |
parent | f775e360fea3259e34339e4280a024ad154942e4 (diff) |
better structure in the loop
-rw-r--r-- | pixman/pixman-polygon.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pixman/pixman-polygon.c b/pixman/pixman-polygon.c index bd777381..f73637a4 100644 --- a/pixman/pixman-polygon.c +++ b/pixman/pixman-polygon.c @@ -1510,19 +1510,16 @@ trap_iter_get_strip (trap_iter_t *iter) if (event->common.type == CLIP) { dir += event->clip.dir; + continue; } else { done = TRUE; - goto insert; } } - else - { - insert: - event_queue_insert_internal ( - iter->queue, key->y_value, key->event); - } + + event_queue_insert_internal ( + iter->queue, key->y_value, key->event); } event_queue_put_min_bucket (iter->queue, bucket); |