summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-09-19 19:54:43 +0000
committerJames Bursa <james@netsurf-browser.org>2002-09-19 19:54:43 +0000
commitf0fc6ca473ee9532c7a4ce9493ee304de1c6d474 (patch)
tree544bc3f2435c292e82dd86b23c3f0c07771b4cf2 /render/box.c
parent263d627daab2a3ff92ae5b50e5ea0b90a03ef36c (diff)
downloadnetsurf-f0fc6ca473ee9532c7a4ce9493ee304de1c6d474.tar.gz
netsurf-f0fc6ca473ee9532c7a4ce9493ee304de1c6d474.tar.bz2
[project @ 2002-09-19 19:54:43 by bursa]
Percentage column widths, optimisations. svn path=/import/netsurf/; revision=38
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c
index f607f26c5..59c7f0f5a 100644
--- a/render/box.c
+++ b/render/box.c
@@ -1,5 +1,5 @@
/**
- * $Id: box.c,v 1.15 2002/09/18 19:36:28 bursa Exp $
+ * $Id: box.c,v 1.16 2002/09/19 19:54:43 bursa Exp $
*/
#include <assert.h>
@@ -61,6 +61,7 @@ struct box * box_create(xmlNode * node, box_type type, struct css_style * style,
box->type = type;
box->node = node;
box->style = style;
+ box->width = UNKNOWN_WIDTH;
box->max_width = UNKNOWN_MAX_WIDTH;
box->text = 0;
box->href = href;