summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-02 19:30:08 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-02 19:30:08 +0000
commit3e7ea29e4b7a4441024846a49e90acaee4bdaf7b (patch)
tree4680921005f3ed954ecf08cec49d58ca52935b3d /render/box.c
parentbe366b0e6bb47fa8cc0bb8a6c310884f2cf4078f (diff)
downloadnetsurf-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.c3
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)