From 3e7ea29e4b7a4441024846a49e90acaee4bdaf7b Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 2 Mar 2011 19:30:08 +0000 Subject: Move clone to box flags. svn path=/trunk/netsurf/; revision=11890 --- render/html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render/html.c') diff --git a/render/html.c b/render/html.c index 71304fde7..4a27ec250 100644 --- a/render/html.c +++ b/render/html.c @@ -1540,7 +1540,7 @@ void html_object_done(struct box *box, hlcache_handle *object, b->max_width = UNKNOWN_MAX_WIDTH; /* delete any clones of this box */ - while (box->next && box->next->clone) { + while (box->next && (box->next->flags & CLONE)) { /* box_free_box(box->next); */ box->next = box->next->next; } -- cgit v1.2.3