Skip to content

Commit

Permalink
rtree: Actually pin the node when pinning.
Browse files Browse the repository at this point in the history
How embarrassing.
  • Loading branch information
Chris Wilson committed May 16, 2010
1 parent 6306251 commit 34fd094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-rtree-private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 34fd094

Please sign in to comment.