diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-02 19:30:08 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-02 19:30:08 +0000 |
commit | 3e7ea29e4b7a4441024846a49e90acaee4bdaf7b (patch) | |
tree | 4680921005f3ed954ecf08cec49d58ca52935b3d /render/box.c | |
parent | be366b0e6bb47fa8cc0bb8a6c310884f2cf4078f (diff) | |
download | netsurf-3e7ea29e4b7a4441024846a49e90acaee4bdaf7b.tar.gz netsurf-3e7ea29e4b7a4441024846a49e90acaee4bdaf7b.tar.bz2 |
Move clone to box flags.
svn path=/trunk/netsurf/; revision=11890
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/render/box.c b/render/box.c index ebe69c34f..275079978 100644 --- a/render/box.c +++ b/render/box.c @@ -149,7 +149,6 @@ struct box * box_create(css_select_results *styles, css_computed_style *style, box->text = NULL; box->length = 0; box->space = 0; - box->clone = 0; box->href = href; box->target = target; box->title = title; @@ -281,7 +280,7 @@ void box_free(struct box *box) void box_free_box(struct box *box) { - if (!box->clone) { + if (!(box->flags & CLONE)) { if (box->gadget) form_free_control(box->gadget); if (box->scroll_x != NULL) |