[cairo-commit] src/cairo-rtree-private.h

Chris Wilson ickle at kemper.freedesktop.org
Sun May 16 02:23:53 PDT 2010


 src/cairo-rtree-private.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 34fd094b3be54138c20ea5c4aab1d9597d056f35
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun May 16 10:23:30 2010 +0100

    rtree: Actually pin the node when pinning.
    
    How embarrassing.

diff --git a/src/cairo-rtree-private.h b/src/cairo-rtree-private.h
index 1457688..191c858 100644
--- a/src/cairo-rtree-private.h
+++ b/src/cairo-rtree-private.h
@@ -116,7 +116,7 @@ _cairo_rtree_pin (cairo_rtree_t *rtree, cairo_rtree_node_t *node)
 {
     if (! node->pinned) {
 	cairo_list_move (&node->link, &rtree->pinned);
-	node->pinned = 0;
+	node->pinned = 1;
     }
 
     return node;


More information about the cairo-commit mailing list