[project @ 2004-01-26 14:09:39 by bursa]

Initialise box dimensions to 0 (fixes window resizing bug).

svn path=/import/netsurf/; revision=507
This commit is contained in:
James Bursa 2004-01-26 14:09:39 +00:00
parent 49ff405d45
commit 92941a762d

View File

@ -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;
}