summaryrefslogtreecommitdiff
path: root/render/box.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-01-26 15:07:20 +0000
committerJames Bursa <james@netsurf-browser.org>2004-01-26 15:07:20 +0000
commit2b0fc5d2e8216eb3c221bc2be6c4dac5ea94f946 (patch)
treee756c2bcbf128077173187176bd5a8f83c78f151 /render/box.c
parent5b3f7219b8aa47c80aac5159c162d2186e91d41a (diff)
downloadnetsurf-2b0fc5d2e8216eb3c221bc2be6c4dac5ea94f946.tar.gz
netsurf-2b0fc5d2e8216eb3c221bc2be6c4dac5ea94f946.tar.bz2
[project @ 2004-01-26 15:07:20 by bursa]
Fix box_create() width init. svn path=/import/netsurf/; revision=510
Diffstat (limited to 'render/box.c')
-rw-r--r--render/box.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/box.c b/render/box.c
index 9d30bbfc5..e51078a12 100644
--- a/render/box.c
+++ b/render/box.c
@@ -194,7 +194,7 @@ struct box * box_create(struct css_style * style,
box->object_state = 0;
#endif
box->x = box->y = 0;
- box->width = box->height = 0;
+ box->height = 0;
return box;
}