summaryrefslogtreecommitdiff
path: root/src/cairo-bentley-ottmann-rectangular.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-08-13 10:59:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-08-13 11:08:58 +0100
commit9d5d46e8466f9417febfdefef6707bae9818b02d (patch)
treed9ae5c2eb3d6668a47c2df8d66626540dfe30ccc /src/cairo-bentley-ottmann-rectangular.c
parent4862aadb0fd1e5b7ea2710d56ff4984f3761611d (diff)
downloadcairo-9d5d46e8466f9417febfdefef6707bae9818b02d.tar.gz
bo-rect: One step too far...
Fixes a1-rasterisation-rectangles. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-bentley-ottmann-rectangular.c')
-rw-r--r--src/cairo-bentley-ottmann-rectangular.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-bentley-ottmann-rectangular.c b/src/cairo-bentley-ottmann-rectangular.c
index c7e327796..519117869 100644
--- a/src/cairo-bentley-ottmann-rectangular.c
+++ b/src/cairo-bentley-ottmann-rectangular.c
@@ -163,7 +163,7 @@ rectangle_pop_stop (sweep_line_t *sweep)
tail = elements[sweep->stop_size--];
if (sweep->stop_size == 0) {
- tail = NULL;
+ elements[PQ_FIRST_ENTRY] = NULL;
return;
}