From 9d5d46e8466f9417febfdefef6707bae9818b02d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sat, 13 Aug 2011 10:59:12 +0100 Subject: [PATCH] bo-rect: One step too far... Fixes a1-rasterisation-rectangles. Signed-off-by: Chris Wilson --- src/cairo-bentley-ottmann-rectangular.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }