From 92941a762d0abe39136ad73562fa130fbd39db57 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 26 Jan 2004 14:09:39 +0000 Subject: [project @ 2004-01-26 14:09:39 by bursa] Initialise box dimensions to 0 (fixes window resizing bug). svn path=/import/netsurf/; revision=507 --- render/box.c | 1 + 1 file changed, 1 insertion(+) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index 5f9262e0c..9d30bbfc5 100644 --- a/render/box.c +++ b/render/box.c @@ -194,6 +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; return box; } -- cgit v1.2.3